Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: Choosing a Persistence Store
- Next: Specifying Methods to Be Checkpointed

### Enabling Checkpointing

The following sections describe how to enable SFSB checkpointing:

- Server Instance and EJB Container Levels

- Application and EJB Module Levels

- SFSB Level

#### Server Instance and EJB Container Levels

To enable SFSB checkpointing at the server instance or EJB container level, see Choosing a Persistence Store.

#### Application and EJB Module Levels

To enable SFSB checkpointing at the application or EJB module level during deployment, use the `asadmin deploy` or `asadmin deploydir` command with the `--availabilityenabled` option set to `true`. For details, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual.

#### SFSB Level

To enable SFSB checkpointing at the SFSB level, set `availability-enabled="true"` in the `ejb` element of the SFSB’s `sun-ejb-jar.xml` file as follows:

    <sun-ejb-jar>
       ...
       <enterprise-beans>
          ...
          <ejb availability-enabled="true">
             <ejb-name>MySFSB</ejb-name>
          </ejb>
       ...
       </enterprise-beans>
    </sun-ejb-jar>

- Previous: Choosing a Persistence Store
- Next: Specifying Methods to Be Checkpointed

- © 2010, Oracle Corporation and/or its affiliates