Creating a Persistence Manager Resource
This feature is needed for backward compatibility. To run on version 7 of the Application Server, a persistent manager resource was required for applications with container-managed persistence beans (a type of EJB component).
To create a persistence manager resource:
- In the tree component, expand the Resources node.
- Under Resources, select the Persistence Managers node.
- On the Persistence Managers page, click New.
- On the Create Persistence Manager page, specify these settings:
- In the JNDI Name field, type a unique name, for example:
jdo/mypm
. Don’t forget the forward slash.
- In the Factory Class field, retain the default class provided with this release, or type in the class of another implementation.
- From the Connection Pool combo box, choose the connection pool that the new persistence manager resource will belong to.
- By default, the new persistence manager resource is enabled. To disable it, deselect the Enabled check box.
- In the Targets section, specify the targets (clusters and standalone server instances) on which the resource is available. Select the desired target on the left, and click Add to add it to the list of selected targets.
- Click OK.
Equivalent asadmin
command: create-persistence-resource
See Also:
Legal Notices