WAS v8.5 > Reference > SetsEJB references
Use this page to view and modify the EJB references to the enterprise beans. References are logical names used to locate external resources for enterprise applications. References are defined in the application's deployment descriptor file. At deployment, the references are bound to the physical location (global 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.x, Web 2.4, Web 2.5, or Client 5.0 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 dmgr console page, click Applications > Application Types > WebSphere enterprise applications > application_name > EJB references.
Values are displayed for Lookup name and EJB Link if they are configured in the application. Only one of these values is allowed. If both are set, the value must be overridden by a target resource JNDI name.
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
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.
Information Value Data type String
Related concepts:
Application bindings
Java EE connector security
Enterprise beans
EJB containers
Related
Create or changing a resource reference
Develop enterprise beans
Manage EJB containers
Deploy EJB modules
Reference:
Administrative console buttons
Administrative console page features