March 2003
Intermediate to advanced
912 pages
27h 17m
English
The object model of IPC exploits the object-oriented paradigm in which objects invoke the methods of other objects, including those residing on remote machines. Java provides the facilities to implement the object model through a mechanism called remote method invocation (RMI). In this section we will discuss the object model through the RMI facilities (contained mainly in the java.rmi package) and show how they can be used to develop a simple system based on the object model. We will thus see an example of an RPC system of distributed IPC.
Section 16.4 discussed how Java's streams and sockets can be used to build a client–server model of distributed IPC. ...