2.9.4 cosminexus.xmlでの定義

Enterprise Beanのプール管理の定義は,cosminexus.xmlの<ejb-jar>タグ内に指定します。設定するタグは,設定対象になるEnterprise Beanの種類ごとに異なります。

cosminexus.xmlでのEnterprise Beanのプール管理の定義について次の表に示します。

表2-24 cosminexus.xmlでのEnterprise Beanのプール管理の定義

項目指定するタグ設定内容
Stateless Session Beanのプーリング<session>-<stateless>-<pooled-instance>タグプールするインスタンス数の最大値と最小値を指定します。
Entity Beanのプーリング<entity>-<pooled-instance>タグ
Message-driven Beanのプーリング<message>-<pooled-instance>タグ