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
What is the difference between static and non-static with examples?
Explain the difference between object state and behavior?
For which statements does it make sense to use a label?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
Why a component architecture for the java platform?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
What is the purpose of the wait() method?
Where can I find seam examples and documentation?
How database connectivity in XML is achieved?
what are the advantages of JTA over JTS?
What are the design considerations while making a choice between using interface and abstract class?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
Can you give me a simple example of using the requiredif validator rule?
What is local interface. How values will be passed?