2.9.4 Defining in cosminexus.xml

The definition for the pool management of an Enterprise Bean is specified within the <ejb-jar> tag of cosminexus.xml. The specified tag is different for each type of Enterprise Bean to be set up.

The following table describes the definition of pool management of an Enterprise Bean in cosminexus.xml:

Table 2-24 Definition of pool management of an Enterprise Bean in cosminexus.xml

ItemsTag to be specifiedSetting contents
Pooling of Stateless Session Beans<session>-<stateless>-<pooled-instance> tagSpecify the maximum value and the minimum value of the number of instances to be pooled.
Pooling of Entity Beans<entity>-<pooled-instance> tag
Pooling of Message-driven Beans<message>-<pooled-instance> tag

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