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


Please Help Members By Posting Answers For Below Questions

What is a sessionfactory? Is it a thread-safe object?

685


What is the difference between the session.get() method and the session.load() method?

602


When a thread blocks on i/o?

571


Is infobus easy to use?

600


To what value is a variable of the string type automatically initialized?

611






How would you create a button with rounded edges?

564


What is the difference between the session.update() method and the session.lock() method?

558


What is threadfactory?

619


Write a program to show synchronization?

694


What is the purpose of the notify() method?

600


What is the difference between RMI registry and OS Agent?

634


What is the difference between a static and a non-static inner class?

598


What’s jboss cache in short?

602


What classes of exceptions may be caught by a catch clause?

557


Explain the advantages and disadvantages of detached objects.

577