+

Search Tips   |   Advanced Search

EJB JNDI names for beans


To view and modify the Java Naming and Directory Interface (JNDI) names of non-message-driven enterprise beans in the application or module.

If the application uses EJB 2.1 and earlier modules, on the Provide JNDI names for beans panel, specify a JNDI name for each enterprise bean in every EJB 2.1 and earlier module. Specify a JNDI name for every EJB 2.1 and earlier enterprise bean defined in the application. For example, for the EJB module MyBean.jar, specify MyBean.

The JNDI name for an EJB module can be used for both EJB 3.0 modules and pre-EJB 3.0 modules. For a pre-EJB 3.0 module, we need to provide a JNDI name for the bean. For an EJB 3.0 module, we have three options

If no JNDI name is provided, the runtime provides a default value. If JNDI name for the bean is provided, we cannot provide any JNDI name for business interface in the Provide JNDI names for business interfaces panel.

To view this admin console page, click Applications > Application Types > WebSphere enterprise apps > application > EJB JNDI names.

If an application is running, changing an application setting causes the application to restart. On stand-alone servers, the application restarts after you save the change. On multiple-server products, the application restarts after you save the change and files synchronize on the node where the application is installed. To control when synchronization occurs on multiple-server products, deselect Synchronize changes with nodes on the Console preferences page.

EJB module

Name of the Enterprise Java Beans module used by the application.

EJB

Name of an enterprise bean contained by the module.

URI

The URI specifies the location of the module archive relative to the root of the application EAR.

JNDI name

JNDI name of the enterprise bean.

This is a data entry field. To modify the JNDI name bound to this bean, type the new name in this field, then select OK.

Data type String





Related concepts


Application bindings
J2EE connector security
Enterprise beans
EJB containers

 

Related tasks


Set a resource reference
Develop enterprise beans
Manage EJB containers
Deploy EJB modules

 

Related


Administrative console buttons
Administrative console page features