Class StatefulSessionContainer

  • All Implemented Interfaces:
    CacheListener, Container, SFSBContainerCallback, JavaEEContainer, EjbContainerFacade

    public final class StatefulSessionContainer
    extends BaseContainer
    implements CacheListener, SFSBContainerCallback
    This class provides container functionality specific to stateful SessionBeans. At deployment time, one instance of the StatefulSessionContainer is created for each stateful SessionBean type (i.e. deployment descriptor) in a JAR.

    The 5 states of a Stateful EJB (an EJB can be in only 1 state at a time): 1. PASSIVE : has been passivated 2. READY : ready for invocations, no transaction in progress 3. INVOKING : processing an invocation 4. INCOMPLETE_TX : ready for invocations, transaction in progress 5. DESTROYED : does not exist

    Author:
    Mahesh Kannan