Using RMI over IIOP

Remote Method Invocation (RMI) is a Java-specific distributed-object system that allows you to create and use remote objects. For example, a Java client program running on one host can obtain a reference to an RMI service running on another host. Once the client program has the remote reference, it can invoke the methods of the remote object as if it were a local object.

As with CORBA applications, you write remote interfaces for an object and generate stubs and skeletons. Also like CORBA, RMI allows a client and a remote object to communicate through client stubs and server skeletons. The stub exposes the methods of the remote object, and the client makes requests against the stub. These requests are forwarded to the server ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with O’Reilly online learning.

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