One key piece is a server that acts as the network lookup, a naming registry from which the client can get a reference to the remote object (the server). |
Another key piece is object serialization. Parameters to and from the remote methods must be sent in a standard encoding across the network. |
client |
Server with |
implementations |
of remote methods |
Naming registry |
RMI |
RMI |
RMI |
Calls to methods in the remote object may pass parameters and receive results |