The Concept of Remote Objects

The notion of remote objects is not new. Remote objects are an extension of remote communication, allowing two applications or components to communicate using a network layer. While remote procedure calls (RPCs) also allow communication, they do not map neatly into an object-oriented environment. Java RMI was designed to work with Java objects and build on such Java features as object serialization, Java type safety, Java security mechanisms, and garbage collection with the RMI-Java Remote Method (JRMP) protocol.

Using remote objects incurs a cost. Network communications can be expensive, and there are security issues involved. It is imperative that we apply some control over this process. This is accomplished with ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.