WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows


Set the connection factory for the CMP EJBs

About this task

These steps show you how to configure the Container-Managed Persistence (CMP) connection factory for the CMP enterprise beans.

Procedure

  1. In the J2EE perspective, select EJB Modules > Entity Bean > Account.
  2. On the EJB deployment descriptor panel, select the Beans tab.
  3. Set the CMP Connection Factory JNDI Name to jdbc/dsSampleDSProxy. This is the JNDI name of the proxy datasoure that will be created by the deployer. If the deployer wants to create another proxy datasource, this field can be modified using during assembly time or deployment time.
  4. Set the Container authorization type to Per_Connection_Factory.
  5. Repeat these steps for AccountOwner. AccountOwner uses the same CMP connection factory JNDI name jdbc/dsSampleDSProxy.



Related concepts
Developing applications using proxy datasource support in WSAD
Task topic    

Terms of Use | Feedback

Last updated: Nov 30, 2007 4:03:08 PM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpfconnectionfactory.html