EJBContainer

Configuration for an EJB container, which is a component of a J2EE application server. It provides runtime services to the EJB modules deployed within it.

Inherits from type ApplicationContainer and adds the following.

Attributes Summary
passivationDirectory : StringThe directory into which the container will save the persistent state of passivated session beans.
inactivePoolCleanupInterval : longThe interval at which inactive pools will be reduced to their minimum size.
defaultDatasourceJNDIName : StringSpecifies the JNDI name of a data source to use if no data source is specified during application deployment.
enableSFSBFailover : booleanA boolean attribute; when true failover is enabled for all SFSBs in this EJB container.
cacheSettings : EJBCacheEach EJB container keeps a cache of bean instances for ready access.
timerSettings : EJBTimerThe collection of configuration settings that pertain to the behavior of the EJB Timer Service.
drsSettings : DRSSettingsA reference to a DRSSettings object.

Attribute Details

passivationDirectory    -    The directory into which the container will save the persistent state of passivated session beans.Session beans are passivated when the container needs to reclaim space in the bean cache. At passivation time, the container serializes the bean instance to a file in the passivation directory and discards the instance from the bean cache. If, at a later time, a request arrives for the passivated bean instance, the container retrieves it from the passivation directory, deserializes it, returns it to the cache, and dispatches the request to it. If any step fails (for example, if the bean instance is no longer in the passivation directory), then the method invocation fails.
     data type:  String
     default Value:   unspecified



inactivePoolCleanupInterval    -    The interval at which inactive pools will be reduced to their minimum size. The value must be a positive integer specified in milliseconds.
     data type:  long
     default Value:   30000



defaultDatasourceJNDIName    -    Specifies the JNDI name of a data source to use if no data source is specified during application deployment. This setting is not applicable for EJB 2.x-compliant CMP beans.Servlets and enterprise beans use data sources to obtain these connections. When configuring a container, you can specify a default data source for the container. This data source becomes the default data source used by any entity beans installed in the container that usecontainer-managed persistence (CMP).The default data source for a container is secure. When specifying it, you must provide a user ID and password for accessing the data source.Specifying a default data source is optional if each CMP entity bean in the container has a data source specified in its configuration. If a default data source is not specified and a CMP entity bean is installed in the container without specifying a data source for that bean,applications cannot use that CMP entity bean.
     data type:  String
     default Value:   unspecified



enableSFSBFailover    -    A boolean attribute; when true failover is enabled for all SFSBs in this EJB container. No default value is defined.
     data type: boolean
     default Value:   unspecified
     Allowed Values:  true   false  



cacheSettings    -    Each EJB container keeps a cache of bean instances for ready access. This section allows you to specify the parameters to configure the cache.
     data type: EJBCache



timerSettings    -    The collection of configuration settings that pertain to the behavior of the EJB Timer Service.
     data type: EJBTimer



drsSettings    -    A reference to a DRSSettings object. See the DRS documentation for more information.
     data type: DRSSettings


Copyright IBM Corp. 1997-2004