O'Reilly logo

Operating Systems: Concurrent and Distributed Software Design by Tim Harris, Jean Bacon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required