Skip Headers

Oracle® Containers for J2EE Orion CMP Developer's Guide 10g Release 3 (10.1.3) B19177-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# When to Use an Entity Bean With Container-Managed Persistence?

You should consider using an entity bean with container-managed persistence under the following conditions:

- The bean represents a business entity, not a procedure.

- The bean's state is persistent: if the bean instance terminates or if the J2EE server shuts down, the bean's state still exists in a database.

- The EJB container that you use delegates the persisting services to the Orion persistent manager.

Note: Oracle recommends migrating your application to the TopLink persistence manager using the Oracle migration tool. See "Migrating to the TopLink Persistence Manager" for more information.