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
Difference between DurableSubscription and non- DurableSubscription?
What are various types of class loaders used by jvm?
Difference between new operator and class.forname().newinstance()?
What are the steps to write p-to-p model application?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
Can I run seam with jdk 1.4 and earlier?
What is message driven beam?
Which javutil classes and interfaces support event handling?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is the difference between session and entity beans?
What is the relationship between local interfaces and container-managed relationships?
What’s jboss cache in short?
What are the different algorithms used for clustering?
Explain about thread synchronization inside a monitor?
What is the immediate superclass of the applet class?