Chapter 2. Characteristics of RMI

  • Syntax—Semantics—Local method invocation—Remote method invocation—Summary—Exercises

In this chapter

There are fundamental differences between programming in a single machine and distributed programming. Calling a remote method via remote method invocation (RMI) is not quite the same as calling a method in a local object, even though it uses the same syntax.

This chapter defines the semantics of RMI and makes a detailed comparison between “local method invocation” and remote method invocation. The issues we raise are serious concerns, which should have a considerable impact on how a distributed system is designed and implemented.

Syntax

Syntax is the set of rules governing the arrangement of words. Semantics is the ...

Get java.rmi: The Remote Method Invocation Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.