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 |
What is the main functionality of RRL(Remote Reference Layer)?
Why do I get a duplicate name error when loading a jar file?
What is MOM?
What method is invoked to cause an object to begin executing as a separate thread?
what is the Scope of Final Keyword in Java?
How do you maintain a stateful session object across the session
What is a modular application?
What is the difference between system.out ,system.err and system.in?
Explain phantom read?
What is clustering? What are the different algorithms used for clustering?
On a computer that having single CPU, how multithreading concept can be achieved?
Define the remote interface?