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 diffrence between a local-tx-datasource and a xa-datasource?
What are callback interfaces?
What are the implicit objects?
Difference between loadclass and class.forname?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is Introspection?
What are the different methods of identifying an object?
What is the difference between java class and bean?
Why do I get a duplicate name error when loading a jar file?
How to send a request to garbage collector?
What is a tasks priority and how is it used in scheduling?
How task's priority is used in scheduling?