Does JBoss EAP 6 support @LocalBinding EJB annotat

2019-08-31 12:14发布

I am in the process of migrating an application from JBoss EAP 5.1 to 6.3. I am resolving compilation errors and one that i am getting right now is

 package org.jboss.ejb3.annotation does not exist
[javac] import org.jboss.ejb3.annotation.LocalBinding;

I did a bit of digging around and from what i gather, they say that in javaee6, they discontinued this to standardize the ejb namespaces. Is this true? Some background information on this would help as well

1条回答
劫难
2楼-- · 2019-08-31 12:58

According to the JBoss issue AS7-3015, JBoss ...no longer supports binding to custom JNDI names for EJBs.

The same information is also mentioned, at least, in two more JBoss forum discussion threads:

Therefore, the EJBs are only bounded to java:global, java:app, java:module namespaces as mandated by the specification.

查看更多
登录 后发表回答