Spring3.1 jar package to understand and depend on the relationship

Source: Internet
Author: User
Tags apache tomcat

First, the package of detailed:

Spring 3.1 's jar package is different from the previous one, and the new version of the jar package decomposes the original package, and the functional division is clear:

Org.springframework.aop-3.1.1.release.jar--------Spring aspect-oriented programming, providing AOP (plane-oriented programming)

Org.springframework.asm-3.1.1.release.jar--------Spring Independent ASM Program

[spring2.5.6 need Asmjar package, 3.0 began to provide his own independent Asm.jar . ASM is a small, lightweight Java bytecode manipulation framework that makes it easy to build and transform Java code. Hibernate and Spring use ASM on the ground floor (ASM for CgLib)]

Org.springframework.aspects-3.1.1.release.jar--------Spring integrates Aspectjrt.jar, and can also be replaced with Aspectjrt.jar.

Org.springframework.beans-3.1.1.release.jar--------The basic implementation of SPRINGIOC (Dependency injection), which is used by all applications, and includes access to configuration files, creation, and Manages beans and all classes related to inversion of control/dependency injection (IOC/DI) operations.

Org.springframework.context.support-3.1.1.release.jar--------Spring-context Extended support, including support for cache caches (Ehcache), JCA, JMX, Mail Services (Java mail, COS Mail), Task Scheduler scheduling (Timer, Quartz) aspects of the class.

Org.springframework.context-3.1.1.release.jar--------Spring provides extended services on basic IoC capabilities, as well as support for many enterprise-class services such as mail services, task scheduling, Jndi positioning, EJB integration, remote access, caching, and encapsulation of various view-layer frameworks.

The Org.springframework.core-3.1.1.release.jar--------contains the basic core tool classes of the spring framework, and the other components of spring use the classes in this package, which are the basic core of other pieces.

Org.springframework.expression-3.1.1.release.jar--------the spring expression language.

Org.springframework.instrument.tomcat-3.1.1.release.jar--------The spring3.1 of the connection pool to Tomcat.

Org.springframework.instrument-3.1.1.release.jar--------spring3.1 the Proxy interface to the server.

The Org.springframework.jdbc-3.1.1.release.jar--------contains all classes that encapsulate Spring's JDBC data access.

The Org.springframework.jms-3.1.1.release.jar--------provides support classes for JMS 1.0.2/1.1.

The Org.springframework.orm-3.1.1.release.jar--------contains spring to extend the DAO feature set to support IBATIS, JDO, OJB, TopLink because hibernate has been independently wrapped and is now not included in this bag. Most of the classes in this jar file depend on the class in Spring-dao.jar, and you need to include the Spring-dao.jar package when using this package.

Org.springframework.oxm-3.1.1.release.jar--------Spring's support for OBJECT/XMI mapping allows you to switch back and forth between Java and XML.

Org.springframework.test-3.1.1.release.jar--------A simple encapsulation of spring for test frameworks such as JUnit.

The Org.springframework.transaction-3.1.1.release.jar--------provides consistent declarative and programmatic transaction management for JDBC, Hibernate, JDO, JPA, and more.

Org.springframework.web.portlet-3.1.1.release.jar--------SPRINGMVC enhancements to support portlet standards (jsr168/jsr286).

Org.springframework.web.servlet-3.1.1.release.jar--------support for j2ee6.0 Servlet3.0.

Org.springframework.web.struts-3.1.1.release.jar--------integrated struts support.

Org.springframework.web-3.1.1.release.jar--------Contains the core classes required to use the spring framework when developing web apps, including automatic onboarding of Webapplicationcontext Class of attributes, struts and JSF integration classes, File upload support classes, filter classes, and a large number of tool helper classes.

Ii. Dependency Relationship:

"Spring AOP + AspectJ programming needs to be imported"

Spring comes with:

1, Org.springframework.aop-3.1.1.jar (dependent on "2", "3", "4")

2, Com.springsource.org.aopalliance-1.0.0.jar

3, Com.springsource.org.apache.commons.logging-1.1.1.jar

4, Org.springframework.core-3.1.1.release.jar (dependent on "3")

With the ASPECTJ framework, you also need to import:

5, Org.springframework.aspects-3.1.1.release.jar (dependent on "6", "7", "8", "9")

6, Com.springsource.org.apache.commons.logging-1.1.1.jar

7, Org.springframework.beans-3.1.1.release.jar (dependent on "6", "8")

8, Org.springframework.core-3.1.1.release.jar (dependent on "6")

9, Org.springframework.context-3.1.1.release.jar (dependent on "6", "7", "8")

10, Com.springsource.org.aspectj.runtime-1.6.12.release.jar (may not appear, see "Spring 3.1 package detailed")

11, Com.springsource.org.aspectj.weaver-1.6.12.release.jar

If the project is not interface-oriented programming, you also need to download the Cglib package into the project, because the Cglib package can produce a non-interface-oriented proxy:

12, com.springsource.net.sf.cglib-2.2.0

In addition, because ASM is used in the Cglib bottom-up implementation, it is also necessary to import the spring-brought:

13, Org.springframework.asm-3.1.1.release.jar

"DataSource"

"Import required using C3P0"

com.springsource.com.mchange.v2.c3p0-0.9.1.2

"Import required using DBCP"

1, Com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar (dependent on "2")

2, Com.springsource.org.apache.commons.pool-1.5.3.jar

"Import required using Proxool"

1, com.springsource.org.logicalcobwebs.proxool-0.9.1 (dependent on "2", "3")

2, Com.springsource.org.apache.commons.logging-1.1.1.jar

3, com.springsource.org.logicalcobwebs.cglib.core-0.9.1 (dependent on "4")

4, Com.springsource.net.sf.cglib-2.2.0.jar

"Import required using BONECP"

1, Bonecp-0.7.1.release.jar (download in http://jolbox.com/requirements.html) (dependent on "1", "2", "3")

2, Guava-11.0.2.jar (http://code.google.com/p/guava-libraries/wiki/Release11 download)

3, Slf4j-api-1.6.4.jar (dependent on "4")

4, Slf4j-nop-1.6.4.jar (if you want to change the implementation of other logs, such as log4j, please replace them with other packages)

5. Jsr305-2.0.0.jar (said to have supported the standard in JDK7, but was postponed to JDK8. In addition, I did not find in the official website JDK7 Support jsr305 Standard, http://www.jarvana.com/jarvana/archive-details/com/google/code/findbugs/ Jsr305/2.0.0/jsr305-2.0.0.jar, after downloading the source code and binary codes The fact is in this bag)

"Use tomcat JDBC Pool to import"

1, com.springsource.org.apache.tomcat.jdbc-1.0.9.3 (dependent on "2")

2, Com.springsource.org.apache.juli.extras.springsource-6.0.32.s2-r1673.jar----Apache Tomcat's Juli Log component allows Web apps to provide their own log configuration


Spring3.1 jar package to understand and depend on the relationship

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.