Remote Method Invocation
Remote Method Invocation (RMI) enables the programmer
to create distributed Java-to-Java applications, in which
the methods of remote Java objects can be invoked from
other Java virtual machines, possibly on different hosts.
A Java program can make a call on a remote object once it
obtains a reference to the remote object, either by looking
up the remote object in the bootstrap naming service provided
by RMI or by receiving the reference as an argument or a
return value. A client can call a remote object in a server,
and that server can also be a client of other remote objects.
RMI uses Object Serialization to marshal and unmarshal parameters
and does not truncate types, supporting true object-oriented
polymorphism.
Where to Find Documentation
-
You can find the Getting Started RMI tutorial
and the RMI Specification at
RMI Documentation.