java - Load spring context EAR avoiding web.xml configuration -
i have enterprise application packaged as:
ear
- war1
- war2
- ejb.jar
- lib/core.jar
- lib/module1.jar
- lib/module2.jar
- ...
- lib/modulen.jar
war packages optional , every modulex.jar contains spring-bean.xml configuration file.
i need load spring context in core.jar , share context between wars. since don't know how many modules packaged, need load xml files @ runtime.
thanks help.
Comments
Post a Comment