|
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3) B14428-01 |
|
![]() Previous |
![]() Next |
You can enable and disable passivation for stateful session beans (see "Using Deployment XML").
You may choose to disable passivation for any of the following reasons:
Incompatible object types: if you cannot represent the non-transient attributes of your stateful session bean with object types supported by passivation (see "What Object Types Can Be Passivated?"), you can exchange increased memory consumption for the use of other object types by disabling passivation.
Performance: if you determine that passivation is a performance problem in your application, you can exchange increased memory consumption for improved performance by disabling passivation.
Secondary storage limitations: if you cannot provide sufficient secondary storage (see "Configuring Passivation Location"), you can exchange increased memory consumption for reduced secondary storage requirements by disabling passivation.
For more information, see:
Table 12-2 lists the attributes, values, and defaults for configuring passivation in the server.xml file element sfsb-config.