Transient vs. persistent storage

The EJB Server naming service inherently provides transient object name storage. The name server is instantiated when you start an EJB Server, and binds names to all the known object references. The name server provides the bound name and object references to the EJB Server’s session manager object. Because this information is stored in memory, the name context information is retained only as long as the EJB Server is running.

You can add persistent object name storage capabilities to EJB Server by using an external directory naming service, such as an LDAP server. The external server retains object name information, and the EJB Server name server updates this information whenever it creates new bindings or unbinds existing ones.

To use an external naming service, specify the URL of the external server in the Naming Service properties of the designated EJB Server name server. You must also provide a manager DN (distinguished name) and password that has exclusive access to all objects in the LDAP server database for EJB Server to be able to update the stored name context information.