Professional Documents
Culture Documents
The java runtime environment comes with the registry and it can
be started as a service from the command line.
The server can start up the RMI registry when it starts up.
Enabling an RMI server application to start the registry and
control access to it gives more control to the developer and also
enables logging of whatever goes on.
Cont…
13
RMI clients are applications that query the registry for remote
objects and using the reference obtained call remote methods on
them for various services that the remote object provides.
RMI works as follows:
15
Layer2: This is the proxy layer, the skeleton and stub layer.
The application deals with this layer directly. All calls to remote
methods and marshalling of parameters and return objects are
done through these proxies.
Cont…
18
In the current release of RMI, TCP/IP connections are used as the foundation for all
machine-to-machine connections.
Naming Remote Objects
21
THANK YOU