[jboss-user] [JBoss/Spring Integration] - Re: How to inject EJB into POJO
marius.bogoevici
do-not-reply at jboss.com
Mon Jul 6 19:38:08 EDT 2009
Also, make sure that you use the <context:annotation-config/> namespace element in your Spring configuration, and make sure you don't have circular dependencies ala EJB->SpringBean->EJB etc, which would make the process of creating the components pretty awkward.
As a note, @Spring is a JBoss-specific annotation used for injecting SpringDeployer-created beans into EJBs but it does not work the other way around.
Cheers,
Marius
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242082#4242082
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4242082
More information about the jboss-user
mailing list