user manual
398 BES Developer’s Guide
Complete Index of EJB Properties
Stateful Session Bean Properties
Property Type Description Default
ejb.sfsb.passivation_timeout Integer Defines the time interval (in
seconds) when to passivate
inactive stateful session beans
into the persistent storage (JSS).
5
ejb.sfsb.instance_max Integer Defines the maximum number of
instances of a particular stateful
session bean allowed to exist in
the EJB container memory at the
same time. If this number is
reached and a new instance of a
stateful session needs to be
allocated, the EJB container
throws an exception indicating
lack of resources. 0 is a special
value. It means no maximum
set. Note, that this property is
applicable only if the
ejb.sfsb.passivation_timeout
property is set to non-zero value.
0
ejb.sfsb.instance_max_timeout Integer If the max number of stateful
sessions defined by the
ejb.sfsb.instance_max property
is reached, the EJB container
blocks a request for an allocation
of a new bean for the time
defined by this property waiting if
the number goes lower before
throwing an exception indicating
lack of resources. This property
is defined in ms (1/1000th of
second). 0 is a special value. It
means not to wait and throw an
exception indicating lack of
resources immediately.
0
ejb.jsec.doInstanceBasedAC Boolean If set to true, the EJB container
checks if the principal invoking
an EJB's method is the same
principal that created this bean.
If this check fails, the method
throws a
java.rmi.AccessException (or
javax.ejb.AccessLocalException)
exception. This is applicable to
stateful session beans only.
True










