1.

What Is The Method That Is Used By The Rmi Client To Connect To Remote Rmi Servers?

Answer»

RMI is known as REMOTE method invocation and to for the RMI client to connect to remote RMI server first thing is to get hold on a reference of the server.

The Naming.lookup method is used to as a mechanism that is used to PROVIDE the way to obtain the references to remote servers. The remote servers can be obtained by using the remote calls that return remote references. This also uses a stub to make a remote method call used in RMIREGISTRY that sends back to remote reference.

Then the references consists of a server hostname and port number, which allow clients to locate a virtual machine. This virtual machine is used to allow the remote object to be FOUND and connected. After the remote reference are PROVIDED to RMI client, then it will be easy to use hostname and port that is provided to open the socket connection to a remote server.

RMI is known as Remote method invocation and to for the RMI client to connect to remote RMI server first thing is to get hold on a reference of the server.

The Naming.lookup method is used to as a mechanism that is used to provide the way to obtain the references to remote servers. The remote servers can be obtained by using the remote calls that return remote references. This also uses a stub to make a remote method call used in rmiregistry that sends back to remote reference.

Then the references consists of a server hostname and port number, which allow clients to locate a virtual machine. This virtual machine is used to allow the remote object to be found and connected. After the remote reference are provided to RMI client, then it will be easy to use hostname and port that is provided to open the socket connection to a remote server.



Discussion

No Comment Found