Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: About JDBC Resources
- Next: To edit a persistence manager resource

## To create 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). Using a JDBC resource instead is recommended.

1. In the tree component, expand the Resources node.

2. Under Resources, select the Persistence Managers node.

3. On the Persistence Managers page, click New.

4. On the Create Persistence Manager page, specify these settings:

   1. In the JNDI Name field, type a unique name.

      For example: `jdo/mypm`. Don’t forget the forward slash.

   2. In the Factory Class field, retain the default class provided with this release, or type in the class of another implementation.

   3. From the Connection Pool combo box, choose the connection pool that the new persistence manager resource will belong to.

   4. To disable the new persistence manager resource, deselect the Enabled check box.

      By default, the new persistence manager resource is enabled.

5. Click OK.

##### Equivalent asadmin command

`create-persistence-resource`

##### See Also

- To edit a persistence manager resource

- To manage resource targets

- To delete a persistence manager resource

- To enable or Disable a persistence manager resource

- Previous: About JDBC Resources
- Next: To edit a persistence manager resource

- © 2010, Oracle Corporation and/or its affiliates