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
Explain about RMI Architecture?
What class is the top of the awt event hierarchy?
Explain how will the struts know which action class to call when you submit a form?
How is a java object message delivered to a non-java client?
Can I use javascript to submit a form?
Define prototype?
What modifiers may be used with an interface declaration?
To identify IDL language what mapping mechanism is used?
How many times may an objects finalize() method be invoked by the garbage collector?
What is Stream Tokenizer?
How will you pass parameters in RMI? Why do you serialize?
Can I have an action without a form?
What restrictions are placed on the values of each case of a switch statement?
What is Remote Server?
What is the difference between session and entity beans?