Spring2.0 compressed package directory Description

2010-04-13  来源:本站原创  分类:Java  人气:286 

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 release package, on the promulgation of package below in more detail explanation.
docs directory is relevant documentation, including Spring api's javadoc, reference reference guide, Spring's tag library using the documents and Spring MVC's MVC-step-by-step Explanation and examples. Are well documented, it is worth a good look.
lib directory is the Spring rely on third-party open source packages.
mock directory is a Spring assisted Mock source application testing.
samples directory is an example of Spring source code and a simple example of the framework of the examples webapp configuration, it is worth a good study are jpetstore and petclinic, of course, other countries, imagedb, tiles-example can also be a good reference.
src directory is the Spring of the source.
test directory for unit test Spring source.
tiger directory is targeted at the Spring framework to use java 1.5 source code and test procedures. Tiger is a jdk 1.5 version of the development code.

The root directory and other documents compiled and documentation.

2, Spring package structure description

Next, explain in detail dist directory jar related to the contents of the package. Understand these elements will help us reduce the size of the release package, but also can increase the Spring framework for understanding.

spring.jar modules that contain a complete release of a single jar package. But does not include mock.jar, aspects.jar, spring-portlet.jar, and spring-hibernate2.jar.

spring-src.zip is that all the source code tarball.

In addition to spring.jar paper, Spring also includes 21 other independent jar packages, each containing the corresponding Spring components, users can choose according to their needs jar mix your own package, without having to introduce all of the spring.jar class file.

spring-core.jar (required)
This jar file contains the Spring framework of the basic core tools. Spring must have to use other components to this bag, there are the other components of the basic core, of course, you can use in their own systems to use these tools.
External dependencies Commons Logging, (Log4J).

spring-beans.jar (required)
The jar file is to be used in all applications, which includes access to the configuration files, create and manage bean as well as Inversion of Control / Dependency Injection (IoC / DI) related to the operation of all classes. If the application only need the basic IoC / DI support for 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. AOP in Spring-based features such as declarative transaction management (Declarative Transaction Management), but also in the application where this jar contains the 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 using the Spring ApplicationContext features all the required classes, JDNI all the required classes, instrumentation components, and related aspects of verification Validation class.
External dependencies spring-beans, (spring-aop).

spring-dao.jar (required)
This jar file contains the Spring DAO, Spring Transaction data access to all classes. In order to use declarative transaction support, they need inside their own applications with spring-aop.jar.
External dependencies spring-core, (spring-aop, spring-context, JTA API).

spring-jdbc.jar (required)
This jar file contains the right Spring encapsulation of JDBC data access to 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) in 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 Spring framework to use the required core classes, including automatic loading Web Application Context feature classes, Struts and JSF integration classes, file upload support classes, Filter class and a large number of tools for supporting 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 in any class.
External dependencies spring-web, (spring-support, Tiles, iText, POI).

spring-portlet.jar
spring itself to achieve a similar Spring MVC framework. Includes a MVC framework and controller.
External dependencies spring-web, Portlet API, (spring-webmvc).

spring-struts.jar
Struts framework support, can more easily integrate Struts framework more easily.
External dependencies spring-web, Struts.

spring-remoting.jar
This jar file contains the support for EJB, remote calls Remoting (RMI, Hessian, Burlap, Http Invoker, JAX-RPC) in the class.
External dependencies spring-aop, (spring-context, spring-web, Hessian, Burlap, JAX-RPC, EJB API).

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

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

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

spring-jdo.jar
Right 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 the Hibernate 3.0/3.1/3.2 support.
External dependencies spring-jdbc, Hibernate3, (spring-web).

spring-toplink.jar
TopLink framework of support.
External dependencies spring-jdbc, TopLink.

spring-ibatis.jar
Pairs of iBATIS SQL Maps support.
External dependencies spring-jdbc, iBATIS SQL Maps.

The other two packages.

spring-mock.jar
This jar file contains a set of mock classes to complement the Spring application testing. Spring test suite used in which a large number of mock classes, so testing is easier. Analog HttpServletRequest and HttpServletResponse classes unit tests in the Web application is very convenient. And provides support for JUnit.
External dependencies spring-core.

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

WEAVER JARS (dist / weavers) Description.

spring-agent.jar
Spring's InstrumentationSavingAgent (for InstrumentationLoadTimeWeaver), a device proxy package, can refer to the JDK1.5 of Instrumentation features for more information.
External dependencies none (for use at JVM startup: "-javaagent: spring-agent.jar").

spring-tomcat-weaver.jar
Expansion of Tomcat's ClassLoader, so that it can use the instrumentation (equipment) type.
External dependencies none (for deployment into Tomcat's "server / lib" directory).

In my possession a collection! HA HA . . . . .

相关文章
  • 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

  • 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 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 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

  • 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

  • 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

  • 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

  • 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

  • Use the command line rar (cmd) under the package directory 2010-06-25

    Use the command line rar (cmd) under the package directory <! - Body start -> When you have permission to run CmdShell, the next step is to package, to download his entire Web directory, where necessary, of course indispensable tool for Winrar. Some

  • RedHat install MySQL5.0 (RPM package) Notes (rpm) 2010-10-16

    RedHat install MySQL5.0 (RPM package) Notes Online articles are mostly installed MySQL binary installation source, the steps more complex, so I will use the RPM package installation process record to others. 1, first to see if the system comes with o

  • tar bz gz compressed package such as compression and decompression 2011-06-23

    Quote . Tar.gz Extract: tar zxvf FileName.tar.gz Compression: tar zcvf FileName.tar.gz DirName Roughly summed up in various formats under linux archive compression, decompression method. But I did not use some method, also incomplete, I hope you help

  • RedHat install MySQL5.0 (RPM package) Notes (r) 2010-10-16

    RedHat install MySQL5.0 (RPM package) Notes Online articles are mostly installed MySQL binary code installed, the steps more complex, so I will use the RPM package installation process of record, to others. 1, take a look at whether the system comes

  • 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

  • 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"

  • REST based (c): Using WSDL 2.0 REST Web Service Description 2011-01-07

    from: http://www.ibm.com/developerworks/cn/webservices/ws-restwsdl/ Introduction: Web services is the core of XML to define a network and for using computer to computer interaction mechanism. An important component of Web services is to use the Web S

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

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