To enable availability and select methods to be checkpointed for an individual stateful session bean (SFSB), use settings in the sun-ejb-jar.xml
file. For details, see the Developer’s Guide.
To enable or disable EJB container availability using the Administration Console:
file
(the file system) and ha
(the HADB). For production environments that require session persistence, use ha
, the default.file
(the default) and ha
.
If either Persistence Type is set to file
, the EJB container specifies the file system location where the passivated session bean state is stored. See "Configuring the General EJB Settings". Checkpointing to the file system is useful for internal testing but is not supported for production environments.
Setting either Persistence Type to ha
uses the HADB only if EJB container availability is enabled. If availability is disabled, the file system is used.
configure-ha-cluster
command in the Reference Manual or the Quick Start Guide.