Stateful Container
Configuring
In the the config.xml, find the "EJBNetworkService" gbean and add this gbean next to it:
<gbean name="DefaultStatefulContainer"> <attribute name="properties"> TimeOut=20 PoolSize=1000 BulkPassivate=100 </attribute> </gbean>
Properties
Each property is as follows:
Property Name |
Description |
---|---|
TimeOut |
Specifies the time to wait between invocations. This |
PoolSize |
Specifies the size of the bean pools for this |
BulkPassivate |
Property name that specifies the number of instances |
Stateless Container
Configuring
In the the config.xml, find the "EJBNetworkService" gbean and add this gbean next to it:
<gbean name="DefaultStatelessContainer"> <attribute name="properties"> TimeOut=0 PoolSize=10 StrictPooling=true </attribute> </gbean>
Properties
Each property is as follows:
Property Name |
Description |
---|---|
TimeOut |
Specifies the time to wait between invocations. This |
PoolSize |
Specifies the size of the bean pools for this |
StrictPooling |
StrictPooling tells the container what to do when the pool |