9.13 Referencing and changing the names registered in JNDI namespace
You change the names of the J2EE applications and the Enterprise Beans registered in the JNDI namespace. You can also add an optional name for the Enterprise Bean name.
An EJB Home object is assigned to the JNDI namespace (HITACHI_EJB/SERVERS/server-name/EJB/J2EE application-name/Enterprise-Bean-name) when the J2EE application starts. Use this name when referencing from the EJB client application and when referencing by using the name switching functionality.
An Optional name is added in the EJB home object. By adding the optional name, the EJB client application is able to get the EJB home object with any name from the JNDI namespace. This functionality is called the user-specified namespace functionality.
For the JNDI name space of EJB home objects, see 2.3 Binding and lookup of objects to the JNDI name space in the uCosminexus Application Server Common Container Functionality Guide. For the user-specified name space functionality, see 2.6 Adding optional names to Enterprise Beans or J2EE resources (user-specified name space functionality) in the uCosminexus Application Server Common Container Functionality Guide.
- Organization of this section