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 |
For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??
Why does the tag url-encode javascript and mailto links?
Why a component architecture for the java platform?
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
What is source and listener?
advantage of thread?
What is rmic?
What must a class do to implement an interface?
What are synchronized methods and synchronized statements?
whats is mean by filter?
how to use debug in my elipse to solve problems that exist in my project
How task's priority is used in scheduling?