Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2011

Create Session Manager for EJB3 Stateful Session Beans

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sessionmanager
    • Labels:
      None

      Description

      EJB 2.x has the notion of an EJB "Home", which can destroy bean instances (sessions) without invoking any business logic. CDI demands the same "backdoor" removal from EJB3, and we must provide a remotable, replicable mechanism.

      Additionally, SFSB injection is not a great idea. Sessions can time out or be removed by the container entirely, leading invocations upon the injected reference to throw NoSuchEJBException. Instead we can leverage a "SessionManager" to be injected, which may create/destroy bean instances as instructed by the bean provider.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alrubinger Andrew Rubinger
                  Reporter:
                  alrubinger Andrew Rubinger
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: