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

Romain Pelisse (JIRA) issues at jboss.org
Thu Jul 19 08:28:00 EDT 2018


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

Romain Pelisse updated WFLY-7085:
---------------------------------
    Summary: Server should verify EJB business methods during deployment and log a warning  (was: Server should verify EJB business methods during deployment and reject)


> Server should verify EJB business methods during deployment and log a warning
> -----------------------------------------------------------------------------
>
>                 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
>            Assignee: Romain Pelisse
>              Labels: downstream_dependency
>             Fix For: 12.0.0.Beta1, 12.0.0.Final, 13.0.0.Beta1, 13.0.0.Final
>
>
> 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
(v7.5.0#75005)


More information about the jboss-jira mailing list