Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Upgrade and Migration Guide

- Previous: Adding a JDBC Resource
- Next: Assembling Application for Deployment

### Adding a Persistence Manager

A persistence manager is required for backward compatibility. To run on version 7 of the Application Server, a persistent manager resource was required for applications with container-managed persistent beans (a type of EJB component).

Use the `asadmin create-persistence-resource` command.

`asadmin create-persistence-resource --user` admin_user `--password` admin_password `--host localhost --port` portno `--connectionpoolid TMB --factoryclass com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpljdo/pmf`

- Previous: Adding a JDBC Resource
- Next: Assembling Application for Deployment

- © 2010, Oracle Corporation and/or its affiliates