User development,
A new message was posted in the thread "EJB 3.0 - Injection via annotation into a
servlet":
http://community.jboss.org/message/522496#522496
Author : Wolfgang Knauf
Profile :
http://community.jboss.org/people/WolfgangKnauf
Message:
--------------------------------------------------------------
Hi Riccardo,
it seems that the EJB jar is not part of your EAR and that the EAR only contains the WAR
file. Do you deploy the JAR separately?
If you are just trying to learn EJB3 and have no special use case, the easiest way to do
this in Eclipse is to create a EAR project, which consists of an EJB module and a Web
module. Now injection should work.
Hope this helps
Wolfgang
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522496#522496