[jboss-user] [EJB 3.0] - Re: EntityManager Null when trying to inject into stateless

ALRubinger do-not-reply at jboss.com
Wed Apr 25 11:49:09 EDT 2007


I couldn't say for sure, but a flag to me is that you're putting your EJBs in the WAR.  I usually separate them into their own JARs with a:

<module>
  | 		<ejb>ejbs-name.jar</ejb>
  | 	</module>

...in META-INF/application.xml so the EJB3 Deployer knows to scan for them.  

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040649#4040649

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040649



More information about the jboss-user mailing list