RMI - Explain how RMI clients contact remote RMI servers.

Explain how RMI clients contact remote RMI servers.

- The client procedure calls the client stub in the normal way.
- The client stub builds a message and traps to the kernel.
- The kernel sends the message to the remote kernel.
- The remote kernel gives the message to the server stub
- The server stub unpacks the parameters and calls the server.
- The server does the work and returns the result to the stub.
- The server stub packs it in a message and traps to the kernel.
- The remote kernel sends the message to the clients kernel.
- The clients kernel gives the message to the client stub.
- The stub unpacks the result and returns to the client.

What are the basic steps to write client-service application using RMI?

- Assigning the security manager and then obtaining the reference to the service.
- Contacting the RMI registry to obtain the remote object’s reference and invoking its methods.
- Requesting the name for the service.
- Invoke the remote method.
RMI: What is Unicast and Multicast object?
Unicast and Multicast object - The difference between unicast and multicast is that in unicast approach the sender sends the data stream to a single receiver at a time....
Post your comment
Discussion Board
Good work
Nicely done....appreciate it...
Akash 07-25-2016
RMI
Thanx for d step wise solution.
krupali 10-6-2015