Spring 2.0 jar package details

Source: Internet
Author: User

Description of spring compressed package directory <br/> Keyword: sring jar <br/> 1. description of spring compressed package directory </P> <p> the aspectj directory uses the source code and test program files of aspectj under the Spring framework. <Br/> aspectj is the earliest application framework for providing AOP in Java. <Br/> the DIST directory contains the spring release package. The release package is described in detail below. <Br/> the docs directory contains related documents, including javadoc with spring API, reference Reference Guide, spring label library usage file, and MVC-step-by-step explanations and examples of spring MVC. They are all good documents. It is worth studying. <Br/> the lib directory contains the third-party open source package on which spring depends. <Br/> the mock source program for spring-assisted application testing is in the mock directory. <Br/> the sample source code of spring and sample configuration of simple webapp framework are in the samples directory. It is worth learning about jpetstore and petclinic, of course, other countries, imagedb, and tiles-example can also be referenced. <Br/> the src directory contains the spring source program. <Br/> spring unit test source program in the test directory. <Br/> the tiger directory is for source programs and test programs that use Java 1.5 in the Spring framework. Tiger is the development code of JDK 1.5. </P> <p> other files in the root directory are compilation and description files. </P> <p> 2. Spring Package Structure Description </P> <p> next, let's talk about the jar package in the DIST directory. Understanding this helps us reduce the size of the release package and increase our understanding of the spring architecture. </P> <p> spring. jar is a single jar package containing the complete release module. But does not include mock. jar, aspects. jar, spring-portlet.jar, and spring-hibernate2.jar. </P> <p> spring-src.zip is all source code compressed packages. </P> <p> except for spring. JAR file. Spring also includes 21 other independent jar packages, each containing the corresponding spring components. You can choose to combine your own jar packages as needed, instead of introducing the entire spring. jar. </P> <p> spring-core.jar </P> <p> this jar file contains the basic core tool class of the Spring framework. Other components of spring must use the class in this package, which is the basic core of other components. Of course, you can also use these tool classes in your own application system. <Br/> external dependency commons logging, (log4j ). </P> <p> spring-beans.jar </P> <p> this jar file is used by all applications, it includes access to the configuration file, creation and management of beans, and all classes related to inversion of control/dependency injection (IOC/di) operations. If the application only requires basic IOC/di support, introduce spring-core.jar and spring-beans.jar files. <Br/> the external dependency is spring-core, (cglib ). </P> <p> spring-aop.jar </P> <p> this jar file contains the class and source code-level metadata support required when spring's AOP features are used in applications. Use spring features based on AOP, such as declarative transaction management, to include the jar package in the application. <Br/> external dependency on spring-core, (spring-beans, AOP alliance, cglib, commons attributes ). </P> <p> spring-context.jar </P> <p> this jar file provides a large number of extensions for the spring core. You can find all the classes required to use the spring applicationcontext feature, all the classes required by jdni, the instrumentation component, and related classes for validation. The external dependency is spring-beans (spring-AOP ). </P> <p> spring-dao.jar </P> <p> the JAR file contains all classes for spring Dao and Spring transaction for data access. To use declarative transaction support, you also need to include spring-aop.jar in your own applications. <Br/> external dependency on spring-core, (spring-AOP, spring-context, jta api ). </P> <p> spring-jdbc.jar </P> <p> the JAR file contains all classes encapsulated by spring for JDBC data access. <Br/> the external dependency is spring-beans and spring-Dao. </P> <p> spring-support.jar </P> <p> this jar file contains support for UI templates (velocity, freemarker, jasperreports), mail services, script services (jruby ), cache (ehcache), the class of the Task Plan Scheduling (uartz. <Br/> external dependency on spring-context, (spring-JDBC, velocity, freemarker, jasperreports, bsh, groovy, jruby, quartz, ehcache) </P> <p> spring-web.jar </P> <p> this jar file contains the core class required by Spring framework for Web application development, this includes automatic loading of Web application context features, Struts and JSF integration classes, file upload support classes, filter classes, and a large number of tool-assisted classes. The external dependency is spring-context, Servlet API, (jsp api, jstl, commons fileupload, cos ). </P> <p> spring-webmvc.jar </P> <p> the JAR file contains all classes related to the spring MVC framework. Includes the framework Servlets, Web MVC Framework, controller and view support. Of course, if your application uses an independent MVC framework, you do not need any classes in the jar file. The external dependency is spring-web, (spring-support, tiles, itext, poi ). </P> <p> spring-portlet.jar </P> <p> a framework similar to spring MVC implemented by spring itself. Includes an MVC Framework and controller. <Br/> external dependency on spring-web, Portlet API, (spring-webmvc ). </P> <p> spring-struts.jar </P> <p> Struts framework support, can be more convenient and easier to integrate Struts framework. The external dependency is spring-web and struts. </P> <p> spring-remoting.jar </P> <p> this jar file contains support for EJB, remote call remoting (RMI, Hessian, burlap, HTTP invoker, JAX-RPC) class. External Dependency spring-AOP, (spring-context, spring-web, Hessian, burlap, JAX-RPC, ejb api ). </P> <p> spring-jmx.jar </P> <p> this jar package provides support class for JMX 1.0/1.2. External dependencies include spring-beans, spring-AOP, and JMX APIs. </P> <p> spring-jms.jar </P> <p> this jar package provides support class for JMS 1.0.2/1.1. External dependencies include spring-beans, spring-Dao, and JMS APIs. </P> <p> spring-jca.jar </P> <p> support for JCA 1.0. The external dependency is spring-beans, spring-Dao, and JCA APIs. </P> <p> spring-jdo.jar </P> <p> support for JDO 1.0/2.0. The external dependency is spring-JDBC, jdo api, (spring-Web ). </P> <p> spring-jpa.jar support for JPA 1.0. The external dependency is spring-JDBC, jpa api, (spring-Web ). </P> <p> spring-hibernate2.jar </P> <p> support for hibernate 2.1, is not recommended. The external dependency is spring-JDBC, hibernate2, (spring-Web ). </P> <p> spring-hibernate3.jar </P> <p> support for hibernate 3.0/3.1/3.2. The external dependency is spring-JDBC, hibernate3, (spring-Web ). </P> <p> spring-toplink.jar support for the toplink framework. The external dependency is spring-JDBC and toplink. </P> <p> spring-ibatis.jar </P> <p> support for ibatis SQL maps. The external dependency is spring-JDBC and ibatis SQL maps. </P> <p> the other two packages. </P> <p> spring-mock.jar </P> <p> the JAR file contains a set of mock classes in spring to assist in application testing. The Spring Test Suite uses a large number of mock classes, making testing easier. It is convenient to simulate the httpservletrequest and httpservletresponse classes in Web application unit testing. And provides support for JUnit. The external dependency is spring-core. </P> <p> spring-aspects.jar </P> <p> provides support for aspectj, allowing you to easily integrate aspect-oriented functions into the IDE, such as Eclipse ajdt. </P> <p> 3. External Dependency. Weaver jars (Dist/weavers) Description </P> <p> spring-agent.jar </P> <p> spring instrumentationsavingagent (instrumentationloadtimeweaver), a device agent package, for more information, see <G id = "1"> jdk1.5 </G>. External Dependency none (for use at JVM startup: "-javaagent: spring-agent.jar "). </P> <p> spring-tomcat-weaver.jar </P> <p> extends Tomcat's classloader so that it can use the instrumentation (device) class. External Dependency none (for deployment into Tomcat's "server/lib" directory ).

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.