Explain bind(), rebind(), unbind() and lookup() methods?
Answer Posted / tek
bind() to register an object and name in the registry
rebind() to modify the existing registered object
unbind() to remove the object from the registry
lookup() to search for an object using the name
Is This Answer Correct ? | 25 Yes | 3 No |
Post New Answer View All Answers
What is a sessionfactory? Is it a thread-safe object?
What is the difference between the session.get() method and the session.load() method?
When a thread blocks on i/o?
Is infobus easy to use?
To what value is a variable of the string type automatically initialized?
How would you create a button with rounded edges?
What is the difference between the session.update() method and the session.lock() method?
What is threadfactory?
Write a program to show synchronization?
What is the purpose of the notify() method?
What is the difference between RMI registry and OS Agent?
What is the difference between a static and a non-static inner class?
What’s jboss cache in short?
What classes of exceptions may be caught by a catch clause?
Explain the advantages and disadvantages of detached objects.