About this task
These steps show you how to configure the Container-Managed Persistence
(CMP) connection factory for the CMP enterprise beans.
Procedure
- In the J2EE perspective, select EJB Modules > Entity Bean >
Account.
- On the EJB deployment descriptor panel, select the Beans tab.
- 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.
- Set the Container authorization type to Per_Connection_Factory.
- Repeat these steps for AccountOwner. AccountOwner
uses the same CMP connection factory JNDI name jdbc/dsSampleDSProxy.