User development,
A new message was posted in the thread "EJB 3.0 - Injection via annotation into a
servlet":
http://community.jboss.org/message/522548#522548
Author : Wolfgang Knauf
Profile :
http://community.jboss.org/people/WolfgangKnauf
Message:
--------------------------------------------------------------
Hi,
do you have an EJB jar, or did you include the Beans in your web app? The latter is not
possible, this is a new feature in JavaEE6.
You need two projects/modules inside your EAR, one EJB project and a Dynamic Web Project.
You are right by exporting it as EAR and copy it to JBoss-deploy.
Best regards
Wolfgang
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522548#522548