[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2011) Create Session Manager for EJB3 Stateful Session Beans

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Feb 10 17:42:10 EST 2010


Create Session Manager for EJB3 Stateful Session Beans
------------------------------------------------------

                 Key: EJBTHREE-2011
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-2011
             Project: EJB 3.0
          Issue Type: Task
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list