|
|
RMI, Remote Method Invocation
|
Explain how RMI clients contact remote RMI servers.
Answer
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.
More RMI links
Answer - Server side stub is refered to as a skeleton........
Answer - The three layers are the Stub and Skeleton Layer, the
Remote Reference Layer,..........
Answer -
RMI registry is the binder for Java RMI. An instance of RMI registry.........
|
|
|
|
|