[jboss-user] [Beginner's Corner] - Re: Struggling with injecting singleton in 6.0

Robin Hughes do-not-reply at jboss.com
Fri Apr 1 15:28:03 EDT 2011


Robin Hughes [http://community.jboss.org/people/rhinmass] created the discussion

"Re: Struggling with injecting singleton in 6.0"

To view the discussion, visit: http://community.jboss.org/message/597253#597253

--------------------------------------------------------------
I changed @Inject to @EJB in the servlet and it works now.  Can anyone explain to me the difference?

I am still having problems, however.  I introduced a new stateless session bean to the ejb jar, and what was working no longer works.  I will start a new discussion for this problem.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/597253#597253]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110401/51b4837d/attachment-0001.html 


More information about the jboss-user mailing list