title: Java web application modularize with spring
body: <p>I'm trying to build a project structure like this:</p>
  
  <pre><code>Project
  |--Web_module.war
      |--Data_module.jar(Spring)
      |--Util_module.jar
      |--other public api...
  </code></pre>
  
  <p>which means, different modules should be packed into different jars, so i have to have more spring configurations(application-context.xml) for different modules (e.g. for data module and for web module).</p>
  
  <p>My question, how could I organize all the configuration files to include them correctly in the web module.</p>
  
  <p>Thanks in advance.</p>