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
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Why is actionform a base class rather than an interface?
What do you know about seam?
Define the remote object implementation?
what is handle?
Describe activation process?
What is the purpose of the wait() method?
How to pass parameters in RMI?
How are the elements of a cardlayout organized?
what are memory considerations of jsp compares to other web components?
Explain phantom read?
Write a program to show synchronization?
Why does the tag url-encode javascript and mailto links?
Brief description about local interfaces?
What is the purpose of the finally clause of a try-catch-finally statement?