+

Search Tips   |   Advanced Search

EJB references


To view and modify the EJBs references to the enterprise beans. References are logical names used to locate external resources for enterprise apps. References are defined in the application's deployment descriptor file. At deployment, the references are bound to the physical location (global Java Naming and Directory Interface (JNDI) name) of the resource in the target operational environment.

If the application defines EJB references, for Map EJB references to beans, specify JNDI names for enterprise beans that represent the logical names specified in EJB references. Each EJB reference defined in the application must be bound to an EJB file before clicking Finish in the Summary panel.

If the EJB reference is from an EJB 3.0, Web 2.4, or Web 2.5 module, the JNDI name is optional. If the Allow EJB reference targets to resolved automatically option is enabled, the JNDI name is optional for all modules. The runtime provides a container default or automatically resolves the EJB reference if a binding is not provided.

To view this admin console page, click Applications > Application Types > WebSphere enterprise apps > application_name > EJB references .

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 Java Beans module used by the application.

EJB

Name of an enterprise bean contained by the module.

URI

Specifies location of the module relative to the root of the application EAR file.

Resource Reference

Name of the EJB reference used in the enterprise bean, if applicable, and declared in the deployment descriptor of the application module.

Class

Name of a Java class associated with this enterprise bean.

Target Resource 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