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
What are the purpose of introspection?
Will the general public have access to the infobus apis?
What is a session? Can you share a session object between different theads?
Explain what is orm?
Difference between new operator and class.forname().newinstance()?
Is the ternary operator written x : y ? Z or x ? Y : z ?
what is a non-repeatable read?
Why use POJO when I can use hashmap
What do you know about seam?
What is table mutation and how do you avoid it?
what are memory considerations of jsp compares to other web components?
Name the eight primitive java types.
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
Why does the tag url-encode javascript and mailto links?
What is the purpose of the notifyall() method?