Hi there,
I'm very close to posting the project site for Snowdrop - which is the JBoss project
that encompasses the JBoss-Spring integration utilities, so hopefully you'll find
there more information about this, but here are some quick pointers.
1) Extract the zip in the deployer folder. So you should see something like this:
<jboss-home>/server//deployer/jboss-spring-3.2.deployer/
2) Make sure that you have a Spring application context in your deployment (the deployer
is looking under META-INF/ for a file (or files) that matches *-spring.xml - so
jboss-spring.xml, myapp-spring.xml are valid names)
3) If you want to inject Spring beans from those application contexts into EJBs, you need
to define @Interceptors(SpringLifecycleInterceptor.class) on the bean class and then use
@Spring for each dependency you want to inject. A complete example is available here:
http://anonsvn.jboss.org/repos/jbossas/projects/snowdrop/trunk/documentat...
Hope that helps,
Marius
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262016#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...