Spring jar package

Source: Internet
Author: User

Spring dependency

 

Dependency Group JAR File Description
Ant Ant. jar, ant-junit.jar, ant-launcher.jar Spring uses Apache ant as its build tool and is also used to complete a large number of other tasks, such as document generation and test execution. Ant does not work at runtime, so you do not need to include the JAR file when releasing an application.
Aopalliance Aopalliance. Jar AOP Alliance (http://aopalliance.sourceforge.net/) is a joint open-source collaboration organization that works across multiple projects to provide a set of standard AOP Java interfaces ). Spring AOP is implemented based on the AOP Alliance standard API. If you want to use spring's AOP or any Feature Based on AOP, you only need this jar file.
Axis Axis. jar, SAAJ. jar, wsdl4j. Jar Spring uses the Apache axis Project to Support jaxrpc in spring remote calls. If you use jaxrpc remoting, you only need these files.
Caucho Burlap-2.1.12.jar, hessian-2.1.12.jar Spring remoting provides support for a large number of different types of protocols, including the burlap and Hessian of Caucho. Which protocol should be used to include the corresponding jar files in this group.
Cglib Cglib-full-2.0.2.jar Cglib is used to generate dynamic proxy classes for core Di and AOP implementation. Cglib is required for implementation of a large number of spring functions, so your application almost always needs to contain cglib.
Cos Cos. Jar Cos generation table com. oreilly. servlet is a collection of struct classes and is useful for servlets and web-based applications. Cos is used in spring in two places: File Upload processing and E-mail sending. However, in both cases, cos is only one of the implementation options. Therefore, cos. jar must be included only when Cos is used instead of other implementation methods.
Dom4j Dom4j. Jar Dom4j is indispensable when you use hibernate. Therefore, if your application intends to implement ORM using hibernate, You need to include this jar file.
Easymock Easymock. jar, easymockclassextension. Jar The Spring Test Suite uses easymock, so this jar is used only when the test suite is built and run, and does not need to be released along with your application.
Freemarker Freemaker. Jar Spring provides a packaging class for the freemarker template engine and supports the use of freemarker templates as a view for Web applications. This jar file is required as long as freemarker is used.
Hibernate Ehcache. jar, hibernate2.jar, ODMG. Jar If spring hibernate integration and support classes are used, these jar files are indispensable. If other ORM tools such as ibatis are used, these jar files are not required. If Hibernate is used, your application will also contain the cglib JAR file.
HSQLDB HSQLDB. Jar The example application of spring uses the HSQLDB. jar file.
Ibatis Ibatis-common.jar, ibatis-sqlmap.jar, ibatis-sqlmap-2.jar These files are indispensable when you use spring ibatis to integrate classes. If you use JDBC or other ORM tools such as hibernate or JDO, your application does not need these files.
Itext Itext-1.02b.jar Spring uses itext to provide PDF support for the web layer. This jar file must be included only when your web application needs to generate PDF output.
J2EE Activation. jar, connector-api.jar, EJB. jar, jaxrpc. jar, jdbc2_0-stdext.jar, JMS. jar, jstl. jar, JTA. jar, mail. jar, Servlet. jar, xml-apis.jar As shown on the left, the number of different jar files related to J2EE is considerable. If you want to use the javamail implementation supported by spring mail, the activation. jar and mail. Jar files are required. Connector-api.jar is required for hibernate to use JCA connector, EJB. jar is required for spring EJB support, and JMS. jar is used for spring JMS support. For Web applications, Servlet. jar and jstl. jar are required to support spring jstl. Jaxrpc support in spring remote calls requires the jaxrpc. jar file, and JTA. jar is used for JTA transaction support. The remaining two JAR file jdbc2_0-stdext.jar and xml-apis.jar are used for JDBC and xml configuration support, but they are only needed when you use JVM 1.3.
Jakarta Jakarta-commons commons-attributes-api.jar, commons-attributes-compiler.jar, commons-beanutils.jar, commons-collections.jar, commons-dbcp.jar, commons-digester.jar, commons-discovery.jar, commons-fileupload.jar, commons-lang.jar, commons-logging.jar, commons-validator. Jar Spring uses a large number of components from the Jakarta Commons project. If you want to use source code-level metadata (metadata) in an application, you need a commons-attributes-api.jar and a commons-attributes-compiler.jar to compile attributes into the application. Struts uses the beanutils, collections, digester, discovery, and validator jar files, among which collections and hibernate will also be used. When using the DBCP connection pool, DBCP is required for spring JDBC support, while pooling is indispensable for some sample applications. If you want to use the corresponding spring packaging class to process web application file uploads, you need fileupload. Finally, logging is used everywhere in spring. Therefore, you need to include this jar file in all spring-based applications.
Jakarta-taglibs Standard. Jar This is the jstl Implementation of Jakarta, which is used by some spring sample applications.
JBoss Jboss-common-jdbc-wrapper.jar When applications running on the JBoss application server use spring JDBC classes, this jar file is indispensable.
JDO JDO. Jar Provides spring JDO support.
JDOM JDOM. Jar When ibatis 1.3 is used in spring, JDOM is indispensable. This chapter introduces ibatis version 2.0.
Jotm Jotm. jar, xapool. Jar If you plan to use jotm together with the Spring transaction abstraction layer, the jotm. jar file is indispensable. If you want to use xapool for Connection pooling in your application, you only need xapool. jar.
JUnit JUnit. Jar JUnit is not required at runtime; it is only used to build and run the test suite.
Log4j Log4j-1.2.8.jar This file is indispensable if you want to use spring to configure log4j logging.
Poi Poi-2.5.jar This jar allows spring MVC framework to support Microsoft Excel output.
Quartz Quartz. Jar This jar is required for spring quartz-based scheduling.
Regexp Jakarta-oro-2.0.7.jar This jar is required when you use a regular expression to specify the pointcut of AOP. Chapter 6 provides more details.
Struts Struts. Jar To use spring to build Web applications using struts, Struts jar is essential.
Velocity Velocity-1.4.jar, velocity-tools-generic-1.1.jar Spring provides the velocity packaging class to support Di. At the same time, when you use velocity in applications, you can reduce the amount of code to be written. In addition, spring also provides some classes that support using velocity as the view provider in the web layer ). If any of the above features are used, the velocity JAR file must be included in the release.
XDoclet Xjavadoc-1.0.jar Commons attributes uses this jar to parse the source code file and extract the attribute information. If spring commons attributes is supported, the JAR file must be included.
     

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.