Binding EJB and resource references

Follow these steps to bind an enterprise bean local reference or nickname to a Java Naming and Directory Interface (JNDI) name.

Procedure

  1. Start an assembly tool.
  2. Optional: Open the J2EE perspective to work with J2EE projects. Click Window > Open Perspective > Other > J2EE.
  3. In the J2EE view, select the EJB module to open its deployment descriptor.
  4. Switch to the References page.
  5. Expand the tree under your chosen bean and select the appropriate reference.
  6. In the WebSphere bindings section, specify the JNDI name.
  7. Repeat these steps for all the references in the EJB module.
  8. Save the deployment descriptor.
    Note: Reference bindings can be defined or overridden at deployment time in the administrative console for all modules except for application clients. For those, you must use the Application Server Toolkit.



In this information ...


Related concepts

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=tejb_mapejb
File name: tejb_mapejb.html