CONTENTS | PREV | NEXT | Java Remote Method Invocation |
Distributed object applications need to:
Applications can use one of two mechanisms to obtain references
to remote objects. An application can register its remote objects
with RMI's simple naming facility, the rmiregistry
, or
the application can pass and return remote object references as
part of its normal operation.
Details of communication between remote objects are handled by RMI; to the programmer, remote communication looks like a standard method invocation.
Because RMI allows a caller to pass objects to remote objects, RMI provides the necessary mechanisms for loading an object's code as well as transmitting its data.