What about if you just put -spring.xml file in the .ear root?
>> but the spring is not seeing the classes in the ejb module
What do you get? NoClassFoundEx?
Sorry, it was my mistake. It does work with application.xml:
<module> <ejb>admin-ejb.spring</ejb> </module> <module> <ejb>admin-ejb.jar</ejb> </module>
But, anyway thanks for the quick reply Justin.
I am confused.
Did you generate 2 files one called admin-ejb.spring and another called admin-ejb.jar ?
Or just one file admin-ejb.spring and referred it by 2 names .spring and .ejb so that spring and ejbs both get loaded ?