1, Spring2.0 compressed catalog description
aspectj directory in the Spring framework to use aspectj source code and test program files.
Aspectj is the first to provide AOP java application framework.
dist directory is a Spring release package, details on the release package will be explained below.
docs directory is related documents, including Spring api's javadoc, reference information and guidance, Spring's tag library to use file and Spring MVC in the MVC-step-by-step explanation and example. Are well documented, it is worth a good look.
Spring lib directory is the third party open source packages depend.
mock directory is Spring Supplementary Mock test source.
Spring samples directory is an example of source code and simple configuration examples webapp sample framework, it is good to learn a jpetstore and petclinic, of course, other countries, imagedb, tiles-example can also be a good reference.
Spring src directory is the source.
Spring unit test directory test source.
tiger directory is in the Spring framework for the use of java 1.5 source program and testing procedures. Tiger is a jdk 1.5 version of the development code.
The root directory of the other documents for the compilation and documentation.
2, Spring package description of the structure
Then elaborate jar package dist directory related content. Help us understand these elements reduce the size distributions, but also can increase the understanding of the Spring framework.
spring.jar is a complete release module contains a single jar package. But does not include mock.jar, aspects.jar, spring-portlet.jar, and spring-hibernate2.jar.
spring-src.zip is the source code archive for all.
In addition to spring.jar paper, Spring 21 also includes other independent jar packages, each containing a corresponding Spring components, users can choose according to their needs combined their jar package, without having to introduce all the spring.jar class files.
This jar file contains the Spring framework of the basic core tools. Spring to have to use other components to this bag, there are the other components of the basic core, of course, you can apply in their own system using these tools.
External dependencies Commons Logging, (Log4J).
The jar file is to be used for all applications, which includes access to the configuration files, create and manage bean as well as Inversion of Control / Dependency Injection (IoC / DI) operations related to all classes. If the application only basic IoC / DI support the introduction of spring-core.jar and spring-beans.jar file on it.
External dependencies spring-core, (CGLIB).
This jar file contains the application to use Spring's AOP features required for class and source-level metadata support. The Spring AOP-based features, such as the declaration type transaction management (Declarative Transaction Management), also included in the application in this jar package.
External dependencies spring-core, (spring-beans, AOP Alliance, CGLIB, Commons Attributes).
The jar file for the Spring core provides a large-scale expansion. Can be found when using the Spring ApplicationContext features all the necessary classes, JDNI all the required classes, instrumentation components and related aspects of validation Validation class.
External dependencies spring-beans, (spring-aop).
This jar file contains the Spring DAO, Spring Transaction of all classes for data access. In order to use statement-based transaction support, needs to include in their application in spring-aop.jar.
External dependencies spring-core, (spring-aop, spring-context, JTA API).
This jar file contains the Spring JDBC data access is encapsulated on all classes.
External dependencies spring-beans, spring-dao.
This jar file contains the support of UI templates (Velocity, FreeMarker, JasperReports), mail services, scripting services (JRuby), Cache Cache (EHCache), Task Scheduler Scheduling (uartz) aspects of the class.
External dependencies spring-context, (spring-jdbc, Velocity, FreeMarker, JasperReports, BSH, Groovy, JRuby, Quartz, EHCache)
This jar file contains the Web application development, the use Spring framework core classes required, including the automatic loading of Web Application Context feature classes, Struts and JSF integration class, file upload support for classes, Filter class and a large number of tools to assist class.
External dependencies spring-context, Servlet API, (JSP API, JSTL, Commons FileUpload, COS).
This jar file contains the Spring MVC framework for all the related classes. Including the framework for Servlets, Web MVC framework, controllers and views to support. Of course, if your application uses a separate MVC framework, you do not need this JAR file to any class.
External dependencies spring-web, (spring-support, Tiles, iText, POI).
their implementation of a similar spring Spring MVC framework. Including a MVC framework and controls.
External dependencies spring-web, Portlet API, (spring-webmvc).
Struts framework support, easier and more convenient integration of Struts framework.
External dependencies spring-web, Struts.
This jar file contains support for EJB, remote call Remoting (RMI, Hessian, Burlap, Http Invoker, JAX-RPC) aspects of the class.
External dependencies spring-aop, (spring-context, spring-web, Hessian, Burlap, JAX-RPC, EJB API).
The jar package provides JMX 1.0/1.2 support class.
External dependencies spring-beans, spring-aop, JMX API.
The jar package provides support for JMS 1.0.2/1.1 class.
External dependencies spring-beans, spring-dao, JMS API.
Of the JCA 1.0 support.
External dependencies spring-beans, spring-dao, JCA API.
On the JDO 1.0/2.0 support.
External dependencies spring-jdbc, JDO API, (spring-web).
On the JPA 1.0 support.
External dependencies spring-jdbc, JPA API, (spring-web).
The support of the Hibernate 2.1, has not recommended.
External dependencies spring-jdbc, Hibernate2, (spring-web).
On Hibernate 3.0/3.1/3.2 support.
External dependencies spring-jdbc, Hibernate3, (spring-web).
On the TopLink framework.
External dependencies spring-jdbc, TopLink.
On the iBATIS SQL Maps support.
External dependencies spring-jdbc, iBATIS SQL Maps.
The other two packages.
This jar file contains the Spring application package mock class to assist the test. Spring test suite which uses a large number of mock class, so the more simple test. HttpServletRequest and HttpServletResponse classes simulate Web application unit testing is very convenient. And provides support for JUnit.
External dependencies spring-core.
AspectJ provides support so that it can easily be integrated into the functional aspect-oriented IDE, such as Eclipse AJDT.
WEAVER JARS (dist / weavers) instructions.
Spring's InstrumentationSavingAgent (as InstrumentationLoadTimeWeaver), a device proxy package, can refer to the JDK1.5 of Instrumentation function for more information.
External dependencies none (for use at JVM startup: "-javaagent: spring-agent.jar").
Extend Tomcat's ClassLoader, so that it can use the instrumentation (equipment) type.
External dependencies none (for deployment into Tomcat's "server / lib" directory).