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 are the oops concept?
Define prototype?
What is the difference between RMI and Socket?
How to determine SGA site?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
How will the struts know which action class to call when you submit a form?
if i know the lenght of collection in hand, should I use Array or Arraylist? justify
how we can implement interface in jsp ?
Why does the tag url-encode javascript and mailto links?
In real time project when will we use Abstract class. and what are the difference between abstract and interface.
6 Answers DELL, FCS, Polaris, Tanla Solutions, TCS,
Why use POJO when I can use hashmap
Can you write Java code for declaration of multiple inheritance in Java ?