user manual
Chapter 31: EJB, JSS, and JTS Properties 391
EJB Customization Properties: Deployment Descriptor level
</property>
</entity>
</enterprise-beans>
. . .
</ejb-jar>
2 Property element defined on the <ejb-jar> level in the ejb-borland.xml
deployment descriptor of a JAR file. This setting affects all EJBs defined in
this JAR. For example, the following XML sets the ejb.maxBeansInPool
property to 99 for all EJBs in the particular JAR file:
<ejb-jar>
. . .
<property>
<prop-name>ejb.maxBeansInPool</prop-name>
<prop-type>Integer</prop-type>
<prop-value>99</prop-value>
</property>
. . .
</ejb-jar>
3 Property element defined at the <application> level in the application-
borland.xml deployment descriptor of an EAR file. This setting affects all
EJBs defined in the all JARs located in this EAR file. For example, the
following XML sets the ejb.maxBeansInPool property to 99 on the EAR level:
<application>
. . .
<property>
<prop-name>ejb.maxBeansInPool</prop-name>
<prop-type>Integer</prop-type>
<prop-value>99</prop-value>
</property>
. . .
</application>
4 EJB property defined as an EJB container level property. This affects all
EJBs deployed in this EJB container. For example, the following command
sets the ejb.maxBeansInPool property to 99 for all beans deployed in the EJB
container started standalone:
vbj -Dejb.maxBeansInPool=99 com.inprsie.ejb.Container ejbcontainer
hello.ear -jns -jss -jts










