Alen,
You can try using one of the standard Spring mechanisms:
- org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean or the jee
namespace
- the @EJB annotation
There is a sample showing the usage of the EJB annotation in
https://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/documen...
- the root of the sample is
https://anonsvn.jboss.org/repos/jbossas/projects/spring-int/trunk/documen...
The difference between this and your scenario is that yours is injecting EJBs in a
Spring-Deployer bootstrapped application context, whereas the sample is injecting them in
an ApplicationContext bootstrapped by the ContextLoaderListener, but this should work
pretty much the same.
Give it a try and let me know if you encounter any issues.
Marius
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242081#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...