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 |

# 5 Configuring an EJB 2.0 Entity Bean With Container-Managed Persistence

This chapter describes the various options that you must configure in order to use an EJB 2.0 entity bean with container-managed persistence.

Table 5-1 lists these options and indicates which are basic (applicable to most applications) and which are advanced (applicable to more specialized applications).

Table 5-1 Configurable Options for an EJB 2.0 Entity Bean With Container-Managed Persistence

Options | Type
--- | ---
"Configuring Primary Key" | Basic
"Configuring Container-Managed Persistent Fields" | Basic
Configuring Container-Managed Relationship Fields | Basic
Configuring Database Isolation Levels | Advanced
"Configuring Concurrency Modes" | Advanced
"Configuring Exclusive Write Access to the Database" | Advanced
"Configuring Callback Methods for EJB 2.0 Entity Beans With Container-Managed Persistence" | Advanced

Note: Oracle suggests that you use JDeveloper IDE for configuring your entity beans with container-managed persistence. The reason is that JDeveloper is capable of managing complex mappings between the entity beans and the database tables. See "Configuring Container-Managed Relationship Fields" and "Using JDeveloper" for more information.

For more information, see the following:

- "What is an Entity Bean?"

- "Implementing an EJB 2.0 Entity Bean With Container-Managed Persistence"