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 the applet sandbox?

1 Answers  


What is the difference between the font and fontmetrics classes?

0 Answers  


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


Why are component architectures useful?

0 Answers  


how to use debug in my elipse to solve problems that exist in my project

0 Answers   SAP Labs, TCS,






What is Servlet Filter And What does it work?

1 Answers   TCS,


What are the various thread priorities?

1 Answers  


Write a singleton program?

0 Answers  


Explain the stub's and skeleton's functionality?

7 Answers  


How are the elements of a cardlayout organized?

0 Answers  


what do u mean by java bean??

2 Answers   ADP,


Name three subclasses of the component class?

0 Answers  


Categories