Spring2.0 archive catalog description

2010-08-21  来源:本站原创  分类:Java  人气:177 

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.

spring-core.jar (required)
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).

spring-beans.jar (required)
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).

spring-aop.jar (required)
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).

spring-context.jar (required)
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).

spring-dao.jar (required)
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).

spring-jdbc.jar (required)
This jar file contains the Spring JDBC data access is encapsulated on all classes.
External dependencies spring-beans, spring-dao.

spring-support.jar (required)
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)

spring-web.jar (required)
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).

spring-webmvc.jar
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).

spring-portlet.jar
their implementation of a similar spring Spring MVC framework. Including a MVC framework and controls.
External dependencies spring-web, Portlet API, (spring-webmvc).

spring-struts.jar
Struts framework support, easier and more convenient integration of Struts framework.
External dependencies spring-web, Struts.

spring-remoting.jar
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).

spring-jmx.jar
The jar package provides JMX 1.0/1.2 support class.
External dependencies spring-beans, spring-aop, JMX API.

spring-jms.jar
The jar package provides support for JMS 1.0.2/1.1 class.
External dependencies spring-beans, spring-dao, JMS API.

spring-jca.jar
Of the JCA 1.0 support.
External dependencies spring-beans, spring-dao, JCA API.

spring-jdo.jar
On the JDO 1.0/2.0 support.
External dependencies spring-jdbc, JDO API, (spring-web).

spring-jpa.jar
On the JPA 1.0 support.
External dependencies spring-jdbc, JPA API, (spring-web).

spring-hibernate2.jar
The support of the Hibernate 2.1, has not recommended.
External dependencies spring-jdbc, Hibernate2, (spring-web).

spring-hibernate3.jar
On Hibernate 3.0/3.1/3.2 support.
External dependencies spring-jdbc, Hibernate3, (spring-web).

spring-toplink.jar
On the TopLink framework.
External dependencies spring-jdbc, TopLink.

spring-ibatis.jar
On the iBATIS SQL Maps support.
External dependencies spring-jdbc, iBATIS SQL Maps.

The other two packages.

spring-mock.jar
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.

spring-aspects.jar
AspectJ provides support so that it can easily be integrated into the functional aspect-oriented IDE, such as Eclipse AJDT.
External dependencies.

WEAVER JARS (dist / weavers) instructions.

spring-agent.jar
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").

spring-tomcat-weaver.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).

相关文章
  • Spring2.0 archive catalog description 2010-08-21

    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, detai

  • Spring2.0 compressed package directory Description 2010-04-13

    1, Spring2.0 compressed package directory Description aspectj directory in the Spring framework to use aspectj source code and test program files. Aspectj is the first java application framework for the provision of AOP. dist directory is a Spring re

  • struts2 + hibernate3.2 + spring2.0 instance configuration + Getting Started 2010-04-13

    eclipse3.2, myeclipse5.0, Jboss4.0.3, sql server2000 sp3 Principle of In the java enterprise applications, ejb powerful ejb configuration with the complex and difficult to learn as well known. But in the past and what we do? Just bite the bullet and

  • struts2.0 + spring2.0 + hibernate3.1 complete process integration of multi-layer model of common errors (change) 2010-04-16

    Looking for entry-level, but the error solution for your reference. In this use MyEclipse6.0 as a programming environment, and truly comprehend after ssh, you know MyEclipse add spring and hibernate Support intention is automatically added to MyEclip

  • struts2.0 + spring2.0 + hibernate3.1 whole process of integration of multi-layer model of common errors (transfer) 2010-11-11

    Look for entry-level, but the bug is fixed for your reference. As used here MyEclipse6.0 programming environment, the real insight ssh, the will know to add spring and hibernate support for MyEclipse was intended only to spring and hibernate MyEclips

  • SF1.2 + Spring2.0 + Hibernate3.2 2009-05-08

    Hanjing JAVA language JAVA study blog <<Java tutorial spring as the implementation gmail outgoing mail server-java source code | Home | TCP multiplayer chat applet>> Sep 20, 2008 JSF1.2 + Spring2.0 + Hibernate3.2 At the recent preparation of a

  • Spring2.0 jar package 2010-04-24

    1, Spring2.0 compressed package directory Description aspectj directory in the Spring framework to use aspectj source code and test program files. Aspectj is the first java application framework for the provision of AOP. dist directory is a Spring re

  • Spring2.0 comment implement the transaction management 2008-10-17

    Spring2.0 framework of the transaction there are two main categories: A coded transaction, it did not say. 2 Declarative transaction, say this. Declarative transaction there are three kinds of implementation methods: 1 (a) the first method, Transacti

  • Xiang Jie spring2.0 the scope 2009-10-09

    How to use the spring scope: Java code <bean class ="spring.chapter2.maryGame.Role" scope="singleton"/> <bean scope="singleton"/> The scope here is used to configure the spring bean scope, it identifies scope bean

  • struts2.1.6 + spring2.0 + hibernate3.2 be easily configured to 2010-03-19

    Recent study ssh2 integration of programming, by the way here, what next struts2 news updates, download a new version of the 2.1.8.1 version of struts2, using MyEclipse8.0 development, but the problem came along. MyEclipse8.0 in the built-in struts2

  • ext2.0 + struts2.1 + spring2.0 + jdbc framework 2010-03-09

    Using the framework of the: ext2.0 + struts2.1 + spring2.0 + jdbc, personal accounts system

  • Spring2.0 the IOC Essays 2010-05-27

    View Spring2.0 in recent IOC, simply turn over source code find out. Spring provides a lightweight bean container formed the core of the two concepts, one is the bean container and the other is the bean factory (of course there are many other complex

  • spring2.0 configuration of the new labeling applications 2010-07-09

    spring2.0 configuration of a new label application 2007-12-28 16:131, <util:constant/> Replaced before the acquisition by FieldRetrevingFactoryBean bean static constant FactoryBean! The use of old <bean> <property name="isolation"

  • spring2.0 and spring2.5 and over different versions of the jar package 2010-09-28

    spring2.0 and spring2.5 and over different versions of the jar package Packaged in Spring 2.5 to Spring 2.5 in the Jar, Spring Web MVC is no longer a 'spring.jar' part of the file. Spring MVC to 'spring-webmvc.jar' and 'spring-webmvc-portlet.jar' fil

  • spring2.0.8 配置文件的文件头 2015-05-04

    这里主要记录了spring2.0.8版本的配置文件的文件头信息.初衷是项目里面spring版本的变更,配置文件头没有相应的改动,其中跟应用服务器对有问题配置文件头的配置文件的处置是不一样的,举例说:在jboss6.1下面不规范的spring配置文件可能能运行,但是我换到了was6.1 的环境下就会报错了,这里最好的做法还是用spring官方提供的指定版本的文件头,这肯定是不会错的. 这也就是下面我记录给其他同学参考的原因了. spring版本:2.0.8 配置文件示例: <?xml versio

  • Spring2.0 framework for transaction processing 2009-06-07

    http://www.javaeye.com/topic/328095 Declarative transaction there are three kinds of implementation methods: 1 (a) the first method, TransactionProxyFactoryBean, he is an AOP proxy functionality FactoryBean. He returned to the object have affairs. Bu

  • Spring2.0 Management Implementation with comments 2010-07-24

    A code transaction, this does not say. 2 Declarative Services, said this. Declarative transaction there are three ways: 1 (one) the first method, TransactionProxyFactoryBean, he is an AOP proxy function FactoryBean. He returned object has affairs. Bu

  • spring2.0 difference with spring2.5 2010-08-22

    Information: http://ajava.org/online/spring2.5/html/new-in-2.html Supported JDK versions Spring 2.5 On JDK 1.3 is no longer supported because Sun has officially official from the late 2006 out of the JDK 1.3. Please upgrade to JDK 1.4.2 or later. Spr

  • Spring2.0 + hibernate3.1 + log4j + mysql demo 2009-02-27

    applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.spri

  • Spring2.0 + Strust2 + Hibernate3.0 2010-03-29

    (1) add struts2 supports 1. Import jar package freemarker.jar,ognl.jar,struts2-core.jar,xwork.jar, It is important to note that ,struts2-core.jar And struts2 -all.jar Cannot coexist. 2. Add struts .xml <?xml version="1.0" encoding="UTF-8