uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.11.6 Defining in cosminexus.xml

Of the timeout settings in the EJB container, the definition of the timeout of a Stateful Session Bean, timeout of EJB objects of an Entity Bean, or the timeout in awaiting instance acquisition is specified in the <ejb-jar> tag of cosminexus.xml. The tag to be specified will differ for each type of the target Enterprise Bean.

The following table describes the definition of the timeout of the EJB container in cosminexus.xml:

Table 2-29 Definition of the timeout of EJB container in cosminexus.xml

Items Tag to be specified Setting contents
Timeout of a Stateful Session Bean <session>-<stateful>-<removal-timeout> tag Specify the time period for maintaining the inactive status until the session is deleted.
Timeout of the EJB objects in the Entity Beans <entity>-<entity-timeout> tag Specify the time period for existence of the EJB object.
Timeout in awaiting instance acquisition

In the case of a Session Bean
<session>-<stateless>-<instance-timeout> tag

In the case of an Entity Bean
<entity>-<instance-timeout> tag
Specify the timeout period for acquiring instances.

For details on cosminexus.xml, see 2. Application property file (cosminexus.xml) in the uCosminexus Application Server Application and Resource Definition Reference Guide.