]
Cheng Fang updated WFLY-12265:
------------------------------
Fix Version/s: 18.0.0.Beta1
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: Cheng Fang
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.