Explain the methods of Naming class, rebind( ) and lookup()?
Answer Posted / 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 View All Answers
How is a java object message delivered to a non-java client?
What is the difference between the font and fontmetrics classes?
Is there a guarantee of uniqueness for entity beans?
what is Activation Instantinator?
Explain what is orm?
What are the different class loaders used by jvm?
What you mean by COM and DCOM?
How substring() method of string class create memory leaks?
What are local interfaces? Describe.
How are the elements of a cardlayout organized?
What classes of exceptions may be caught by a catch clause?
Why are some of the class and element names counter-intuitive?
which type of objects reference will be given to client?
difference between ejb,struts,hibernate,spring and jsp
How a component can be placed on Windows?