Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is a following chart (from <a href="http://ogrigas.eu/spring/2009/12/diagram-of-spring-3-0-module-dependencies" rel="noreferrer">Diagram of Spring 3.0 module dependencies</a>):</p> <p><img src="https://i.stack.imgur.com/x81Al.png" alt="alt text"></p> <p>As you can see, there are several groups of modules:</p> <ul> <li><p>"Core Spring" - <code>context</code> and its dependencies (<code>asm</code> is missed, <code>aop</code> depends on it) </p></li> <li><p>Web</p> <ul> <li><code>web</code> - basic webapp integration</li> <li><code>webmvc</code> (<code>web.servlet</code>) - Spring MVC Framework</li> <li><code>webmvc-portlet</code> (<code>web.portlet</code>) - Spring MVC for portlets</li> <li><code>web.struts</code> - Struts integration</li> </ul></li> <li><p>Data access</p> <ul> <li><code>tx</code> (<code>transaction</code>) - basic transaction support</li> <li><code>jdbc</code> - JDBC support</li> <li><code>orm</code> - ORM integration </li> </ul></li> <li><p>Other modules</p> <ul> <li><code>context-support</code> - integration with Quartz, Javamail, Ehcache, etc</li> <li><code>jms</code>, <code>oxm</code> - JMS and object-XML mapping respectively</li> <li><code>test</code> - for unit testing</li> <li><code>aspects</code> - <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/aop.html#aop-using-aspectj" rel="noreferrer">AspectJ intergration</a> (usually not needed)</li> <li><code>instrument</code>, <code>instrument.tomcat</code> - <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/aop.html#aop-aj-ltw" rel="noreferrer">load-time weaving</a></li> </ul></li> </ul> <p>So, if you use build tool that supports transitive dependencies (such as Maven), you usually only need to declare the required modules from <strong>web</strong> and <strong>data</strong> groups, and some from the <strong>other</strong> modules, if needed. Also you may need to declare <code>context</code> in order to <a href="http://blog.springsource.com/2009/12/04/logging-dependencies-in-spring/" rel="noreferrer">configure logging</a>.</p> <p>For example, if you want to create a web application with Spring MVC and Hibernate, you declare <code>webmvc</code> (<code>web.servlet</code>) and <code>orm</code>. If you don't use Maven, you also need to import their transitive dependencies, as shown on the chart.</p> <p><strong>See also:</strong></p> <ul> <li><a href="http://ogrigas.eu/spring/2009/12/diagram-of-spring-3-0-module-dependencies" rel="noreferrer">Diagram of Spring 3.0 module dependencies</a></li> <li><a href="http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/" rel="noreferrer">Obtaining Spring 3 Artifacts with Maven</a></li> <li><a href="http://blog.springsource.com/2009/12/04/logging-dependencies-in-spring/" rel="noreferrer">Logging Dependencies in Spring</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload