[jboss-jira] [JBoss JIRA] (WFLY-7085) Server should verify EJB business methods during deployment and reject

Wolf-Dieter Fink (JIRA) issues at jboss.org
Fri Sep 9 11:59:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-7085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wolf-Dieter Fink updated WFLY-7085:
-----------------------------------
    Summary: Server should verify EJB business methods during deployment and reject  (was: By spec EJB business methods should not final but the deployment did not fail under any circumstances)


> Server should verify EJB business methods during deployment and reject
> ----------------------------------------------------------------------
>
>                 Key: WFLY-7085
>                 URL: https://issues.jboss.org/browse/WFLY-7085
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 11.0.0.Alpha1
>            Reporter: Wolf-Dieter Fink
>
> The ejb 3.2 core specification state in chapter 4.9.6 that business methods should not be declared as final or static.
> But a Bean with a business method declared in the local or remote interface can be correct deployed and is accesible under some circumstances.
> To ensure that the Bean is according to the spec and avoid runtime or injection issues the methods should be checked and a VerifyError should be thrown at deployment time.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list