+

Search Tips   |   Advanced Search

EJB JNDI names for beans

Use this page to view and modify the 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.x modules and pre-EJB 3.0 modules. For a pre-EJB 3.0 module, provide a JNDI name for the bean. For an EJB 3.x module, we have three options

If no JNDI name is provided, the run time 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 console page, click Applications > Application Types > WebSphere enterprise applications > application > EJB JNDI names.

If any value is modified on this page, all of the metadata files related to the application are refreshed in the configuration repository.

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.


Module

Name of the Enterprise JavaBeans module used by the application.


Bean

Name of an enterprise bean contained by the module.


URI

The Uniform Resource Identifier (URI) specifies the location of the module archive relative to the root of the application EAR.


Target Resource JNDI name

Specifies the 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.

Information Value
Data type String


Related concepts

  • Application bindings
  • Java EE connector security
  • Enterprise beans
  • EJB containers


    Related tasks

  • Create or changing a resource reference
  • Develop enterprise beans
  • Manage EJB containers
  • Deploy EJB modules

  • Administrative console buttons
  • Administrative console page features