1.

Explain The Various Methods Of Registering And Gaining Access To The Remote Object?

Answer»

The methods of remote objects are to be invoked by implementing the java.rmi.Remote interface.

Methods:

  • bind(): binds the specified name to the remote object. The name parameter of this method should be in an URL format.
  • UNBIND(): Destroys the binding for a specific name of a remote method in the registry
  • rebind(): Binds again the specified name to the remote object. The current binding will be replaced by rebinding.
  • list(): Returns the names of the names that were bound to the registry in an array form. These names are in the form of URL-formatted STRING.
  • lookup(): A stub, a reference will be RETURNED for the remote object which is RELATED with a specified name.

The methods of remote objects are to be invoked by implementing the java.rmi.Remote interface.

Methods:



Discussion

No Comment Found