[cdi-dev] [JBoss JIRA] (CDI-289) Clarify what happens if a CDI-scoped stateful session bean is removed due to exception
Jozef Hartinger (JIRA)
jira-events at lists.jboss.org
Mon Nov 5 08:50:19 EST 2012
Jozef Hartinger created CDI-289:
-----------------------------------
Summary: Clarify what happens if a CDI-scoped stateful session bean is removed due to exception
Key: CDI-289
URL: https://issues.jboss.org/browse/CDI-289
Project: CDI Specification Issues
Issue Type: Clarification
Components: Java EE integration
Affects Versions: 1.1.PRD
Reporter: Jozef Hartinger
Assignee: Pete Muir
Fix For: 1.1 (Proposed)
{code:JAVA}
@ApplicationScoped
@Stateful
public class Foo {
...
}
{code}
According to the EJB spec (4.6.2) the instance of Foo will be removed if a method invocation on Foo throws a runtime exception that is not an application exception. CDI should clarify if in that case a new instance of Foo replaces the old instance or whether the clients will keep receiving NoSuchEJBException for the rest of the application lifetime.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the cdi-dev
mailing list