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

how to use debug in my elipse to solve problems that exist in my project

1762


What is the purpose of the notify() method?

596


How would you reatach detached objects to a session when the same object has already been loaded into the session?

677


What restrictions are placed on the values of each case of a switch statement?

535


How a component can be placed on Windows?

2264






What is the difference between static and non-static with examples?

1358


why static class in java

1275


Can I run seam outside of jboss as?

638


Is the session factory thread safe?

673


What is scalable, portability in the view of J2EE?

1871


Are we allowed to change the transaction isolation property in middle of a transaction?

563


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

607


What does module-relative mean?

573


What happens when a thread cannot acquire a lock on an object?

535


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

568