EJB container system properties

In addition to the settings accessible from the administrative console, you can set the following system property by command-line scripting.

com.ibm.websphere.ejbcontainer.poolSize
Specifies the size of the pool for the specified bean type. This property applies to stateless, message-driven and entity beans. If you do not specify a default value, the container defaults of 50 and 500 are used.
Set the pool size for a given entity bean as follows:
beantype= min,max [:beantype= min, max...]

[mar2010] beantype is the J2EE name of the bean, formed by concatenating the application name without the file extension, the # character, the module name without the file extension, the # character, and the name of the bean (that is, the string assigned to the <ejb-name> field in the bean's deployment descriptor). For example, if you have an application called SMApp.ear that includes module PerfModule.jar, and module PerfModule.jar uses a bean named TunerBean, the J2EE name of the bean is specified as SMApp#PerfModule#TunerBean [mar2010]

mar2010

min and max are the minimum and maximum pool sizes, respectively, for that bean type. Do not specify the square brackets shown in the previous prototype; they denote optional additional bean types that you can specify after the first. Each bean-type specification is delimited by a colon (:).

Use an asterisk (*) as the value of beantype to indicate that all bean types are to use those values unless overridden by an exact bean-type specification somewhere else in the string, as follows:
*=30,100
To specify that a default value be used, omit either min or max but retain the comma (,) between the two values, as follows (split for publication):
SMApp#PerfModule#TunerBean=54,
   :SMApp#SMModule#TypeBean=100,200

You can specify the bean types in any order within the string.

com.ibm.websphere.ejbcontainer.allowEarlyInsert
Note: This property is applicable to CMP 1.1 beans only.

By default, the EJB Container creates the entity bean representation in the database only after the method ejbPostCreate(...) is called. However, some applications may rely on method ejbCreate(...) to have created the entity bean in the database. For such a requirement, setting the JVM property com.ibm.websphere.ejbcontainer.allowEarlyInsert to true overrides the default behavior.




Related concepts
EJB containers
Related tasks
Managing EJB containers
Related reference
EJB container settings


Terms of Use | Feedback

Last updated: Aug 29, 2010 9:31:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rejbecnt
File name: rejb_ecnt.html