Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

ProcedureTo 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. 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.

  5. Click OK.

Equivalent asadmin command