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
To what value is a variable of the string type automatically initialized?
What is the difference between a static and a non-static inner class?
the same information whether it will connect to the database or it will be used previous information?
How substring() method of string class create memory leaks?
Why use a datasource when you can directly specify a connection details?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
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?
What are the purpose of introspection?
What is the argument type of a programs main() method?
why static class in java
What is scalable, portability in the view of J2EE?
What is TL and its use?
Write a program to show synchronization?
Java is fully object oriented languages or not?
What class is used to create Server side object ?