Explain the methods of Naming class, rebind( ) and lookup()?



Explain the methods of Naming class, rebind( ) and lookup()?..

Answer / janet

rebind()of the Naming class(found in java.rmi) is used
to update the RMI registry on the server machine.
Naming.rebind("AddServer",AddServerImpl);
lookup() of the Naming class accepts one argument , the
rmi URL and returns a reference to an object of type
AddServerImpl.

Is This Answer Correct ?    26 Yes 7 No

Post New Answer

More Advanced Java Interview Questions

what is catalina in tomcat server.

11 Answers   IBM,


Explain the methods of Naming class, rebind( ) and lookup()?

1 Answers  


What method MUST be implemented by all threads?

1 Answers  


How are commas used in the intialization and iteration parts of a for statement?

0 Answers  


How to deploy Jar, War files in J2EE?

0 Answers   HCL,






What is a clone?

0 Answers  


What are the difference between RMI and CORBA?

0 Answers  


How can I avoid validating a form before data is entered?

0 Answers  


Will the general public have access to the infobus apis?

0 Answers  


What is the need of serialize?

2 Answers   Wipro,


What are the different methods of identifying an object?

0 Answers  


What are the pros and cons of detached objects?

0 Answers  


Categories