Class MessageBeanContainer

  • All Implemented Interfaces:
    Container, JavaEEContainer, MessageBeanProtocolManager, EjbContainerFacade

    public final class MessageBeanContainer
    extends BaseContainer
    implements MessageBeanProtocolManager
    This class provides container functionality specific to message-driven EJBs. At deployment time, one instance of the MessageDrivenBeanContainer is created for each message-driven bean in an application.

    The 3 states of a Message-driven EJB (an EJB can be in only 1 state at a time): 1. POOLED : ready for invocations, no transaction in progress 2. INVOKING : processing an invocation 3. DESTROYED : does not exist A Message-driven Bean can hold open DB connections across invocations. It's assumed that the Resource Manager can handle multiple incomplete transactions on the same connection.

    Author:
    Kenneth Saks