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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -