JBoss Community

Re: Struggling with injecting singleton in 6.0

created by Robin Hughes in Beginner's Corner - View the full discussion

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

Start a new discussion in Beginner's Corner at Community