[jboss-user] [JBoss/Spring Integration] - Re: Spring integration and embeddable EJB3

alesj do-not-reply at jboss.com
Tue Aug 8 05:47:57 EDT 2006


You have two options:

 - you must add Spring deployer into the embeddable EJB3 mix.
And then add SpringInterceptor into ejb3-interceptors-aop.xml (see how this is done in app. server).

 - or include jboss-spring-jdk5.jar into classpath and use Spring<Lifecycle|Passivation>Interceptor as EJB3 uses interceptors.
But be sure you deploy/bind your spring-context (BeanFactory or ApplicationContext) under specified jndi name (see @Spring jndiName and SpringInjectionSupport).

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

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



More information about the jboss-user mailing list