[cdi-dev] [JBoss JIRA] (CDI-487) Clarify decorator beans relationship to EJB spec
Tomas Remes (JIRA)
issues at jboss.org
Thu Oct 2 08:52:09 EDT 2014
Tomas Remes created CDI-487:
-------------------------------
Summary: Clarify decorator beans relationship to EJB spec
Key: CDI-487
URL: https://issues.jboss.org/browse/CDI-487
Project: CDI Specification Issues
Issue Type: Clarification
Components: Decorators, Java EE integration
Affects Versions: 1.2.Final
Reporter: Tomas Remes
In "8.1. Decorator beans" there are two following sentences:
{quote}
Decorators of a session bean must comply with the bean provider programming restrictions
defined by the EJB specification. Decorators of a stateful session bean must comply with the rules
for instance passivation and conversational state defined by the EJB specification.
{quote}
I guess the first sentence corresponds "somehow" to "4.9 The Responsibilities of the Bean Provider" in EJB spec. This EJB chapter (specifically 4.9.2) specifies e.g that session bean class must not be abstract.
This seems to contradict bit with abstract decorator for session bean, which is legal in CDI. This restriction would be IMO unnecessary.
I am also not sure about implications of the second sentence.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the cdi-dev
mailing list