[jboss-user] [JBoss/Spring Integration] - How to inject EJB into POJO

alen_ribic do-not-reply at jboss.com
Mon Jul 6 17:54:03 EDT 2009

I have jboss-spring 3.2CR1 deployer configured on my JBoss 5.0.1GA server. I can confirm that my jboss-spring.xml file in my myapp.ear/myejb.jar/META-INF/ is loaded sucessfully with no errors.

How do I inject an EJB, that is defined in my jboss-spring.xml, into a POJO? (Both the EJB and POJO are define in my myapp.ear/myejb.jar/) 
I have tried @Spring and got a NPE.


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

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

More information about the jboss-user mailing list