WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Binding EJB and resource references

Why and when to perform this task

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

Steps for this task

  1. Start the Application Server Toolkit.
  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 Assembly Service Toolkit.



Related concepts
Application bindings

Related tasks
Defining data sources for entity beans
Binding Web modules to virtual hosts

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tejb_mapejb.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)