Hey,
Currently in EJBs I can use @Spring annotation and such beans must be depoyed to jboss using separate .spring archive. This means two separate jars: one for spring context and other for EJBs. But I would like to have spring context specific for ejb module and so they should be deployed together in one jar. How to do that so that I'm still able to use @Spring injection tag in EJBs etc?
Maybe you can use this approach:
- http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92146
Having a single jar with injectable beans and ejbs - and jboss-spring.xml in ear root - pointing to that beans.