|
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3) B14428-01 |
|
![]() Previous |
![]() Next |
For a BMP entity bean, you can choose between commit options A and C.
Commit option A offers a performance improvement by postponing a call to ejbLoad.
If you configure a read-only BMP entity bean to use commit option A (see "Configuring a Read-Only BMP Entity Bean"), you can further improve performance by taking advantage of read-only BMP entity bean caching (see "Commit Options and BMP Applications".
Commit option C is the default.
For more information, see "What are Entity Bean Commit Options?".
Example 15-2 shows the orion-ejb-jar.xml file entity-deployment element commit-option sub-element attribute mode. Valid settings are A and C. The number-of-buckets attribute is the maximum number of cached instances allowed and is applicable only for commit option A.