EJBContainer


This type is a class for model objects.

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.

Package: ejbcontainer
Supertype: ApplicationContainer

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *



Attributes Summary
passivationDirectory : EString 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.
inactivePoolCleanupInterval : ELong The interval at which inactive pools will be reduced to their minimum size. The value must be a positive integer specified in milliseconds.
defaultDatasourceJNDIName : EString 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 use container-managed persistence (CMP). The default data source for a container is secure. When specifying it, 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.
enableSFSBFailover : EBoolean A boolean attribute; when true failover is enabled for all SFSBs in this EJB container. No default value is defined.
cacheSettings : EJBCache @ Each EJB container keeps a cache of bean instances for ready access. This section allows you to specify the parameters to configure the cache.
EJBTimer : EJBTimer * * No description is available *
timerSettings : EJBTimer @ The collection of configuration settings that pertain to the behavior of the EJB Timer Service.
drsSettings : DRSSettings @ A reference to a DRSSettings object. See the DRS documentation for more information.



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: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

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: ELong
    Default value:  30000
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

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 use container-managed persistence (CMP). The default data source for a container is secure. When specifying it, 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: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

enableSFSBFailover  -  A boolean attribute; when true failover is enabled for all SFSBs in this EJB container. No default value is defined.
    Data Type: EBoolean
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  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.
    Reference Type: EJBCache @
    Containment:  true
    Container:  false
    Required:  true
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  1
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

EJBTimer  -  * No description is available *
    Reference Type: EJBTimer *
    Containment:  false
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

timerSettings  -  The collection of configuration settings that pertain to the behavior of the EJB Timer Service.
    Reference Type: EJBTimer @
    Containment:  true
    Container:  false
    Required:  true
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  1
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

drsSettings  -  A reference to a DRSSettings object. See the DRS documentation for more information.
    Reference Type: DRSSettings @
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006