16.9. Java's RMI: RPC in the general object model

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.

16.9.1. RMI and the general object model

Section 16.4 discussed how Java's streams and sockets can be used to build a client–server model of distributed IPC. ...

Get Operating Systems: Concurrent and Distributed Software Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.