This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 inside a WAR
peterj Aug 1, 2008 2:04 PM (in response to lucdew)EJBs cannot be packaged in WAR files. You need to either place the JAR with the EJBs into the deoply directory, or better yet, package the EJB JAR and the WAR into an EAR (after all, that is what EAR archives are for).
-
2. Re: EJB3 inside a WAR
wolfc Aug 1, 2008 4:53 PM (in response to lucdew)This is not possible in AS 4.
In AS 5 you can enable scanning of wars by setting the 'scanWars' property to true in ejb3.deployer/META-INF/ejb3-deployers-jboss-beans.xml (ejb3-deployers-beans.xml for CR1).