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

How can I scroll through list of pages like the search results in google?

0 Answers  


What is permgen or permanent generation?

0 Answers  


Which Taglibraury you used in your project? plz send me ans....which we r using generally

2 Answers  


How do u supress the parameters from the displaying in the url?

2 Answers  


How we set Bean Id when we are creating web application using SpringMVC and Hibernet Integration

1 Answers  






Can I run seam with jdk 1.4 and earlier?

0 Answers  


How substring() method of string class create memory leaks?

0 Answers  


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,


wahts is mean by dynavalidatorform in struts/

1 Answers   SolutionNET,


what do u mean by java bean??

2 Answers   ADP,


i want documentation of text file splitter & merger of advanced java

1 Answers   Infosys,


What is message driven beam?

0 Answers  


Categories