I am migrating EJB 3.0 application from jboss AS 6 to wildfly AS 8.
Is it possible to deploy EJB 3.0 application to wildfly as ease in wildfly? After updating the EJB spec as per wildfly EJB modules in pom.xml, I am getting compilation error that below symbols are not found as the related APIs are not available in wildfly.
org.jboss.ejb3.annotation.LocalBinding;
org.jboss.ejb3.annotation.Depends;
org.jboss.ejb3.annotation.Management;
org.jboss.ejb3.annotation.Service;
The above annotations are found in jboss-ejb3-ext-api.jar
and it is a part of jBoss 6 AS.
javax.annotation.security.PermitAll
The above annotations are found in jboss-annotations-api_1.1_spec.jar
and it is a part of jBoss 6 AS.
From the documentation, I understood that wildfly support EJB3.2 and EJB3.2 does not support @LocalBinding / @RemoteBinding.
So how will I do the same in wildfly using standalone.xml / ejb-jar.xml / any other configuration
.
I tried following the blog: JBoss: Binding values into JNDI in JBoss EAP 6 similar to JNDIBindingServiceMgr but could not link where I tried to lookup EJB bean based on jndi name but did not work.
Please help. Many Thanks.