]
Tomas Hofman reassigned WFLY-12265:
-----------------------------------
Assignee: Tomas Hofman (was: Cheng Fang)
Out of specification: Singleton EJB is allowed to implement
SessionBean interface.
----------------------------------------------------------------------------------
Key: WFLY-12265
URL:
https://issues.jboss.org/browse/WFLY-12265
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 16.0.0.Final, 17.0.0.Final
Reporter: Cheng Fang
Assignee: Tomas Hofman
Priority: Major
Fix For: 18.0.0.Beta1
Attachments: SingletonBean.java
Singleton EJB is allowed to implement SessionBean interface and the EJB 3.2 spec says in
section 4.9.2 Session Bean Class:
"The class may implement, directly or indirectly, the javax.ejb.SessionBean
interface. Except for singleton session beans."
EAP should throw an exception or log a warning that it is not valid by the spec.