[jboss-user] [EJB 3.0] - Re: Injecting an EJB into a Servlet

jaikiran do-not-reply at jboss.com
Mon Oct 13 03:33:14 EDT 2008

As far as the injection of EJB into a servlet in JBoss-5 CR2 is concerned, it does work. I have a working example. Going by the exception stacktrace, it seems that the mappedName provided for @EJB might be incorrect. You might want to check the correct jndi name for the EJB and then use it for the injection.

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

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

More information about the jboss-user mailing list