]
Romain Pelisse updated WFLY-7085:
---------------------------------
Git Pull Request:
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
Assignee: Romain Pelisse
Labels: downstream_dependency
Fix For: 12.0.0.Beta1, 12.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.