Spring jar Package Use features:

Source: Internet
Author: User
Tags cos

Accumulated by oneself:

@ Spring-context-3.0.5.release.jar: Used primarily for loading class ApplicationContext in spring programs. eq

ApplicationContext AC = new Classpathxmlapplicationcontext ("Classpath:schedul-job.xml");

@ Spring-context-support-3.0.5.release.jar: Mainly used for spring job Timer class (Methodinvokingjobdetailfactorybean, Crontriggerbean,schedulerfactorybean). eq

  
1<bean id="Everydayjob" class="Schedul. Everydayjob"></bean>2<bean id="JobManager" class="Schedul. JobManager">3<property name="joblist">4<list>5<refLocal="Everydayjob"/>6</list>7</property>8</bean>9<bean id="Jobtask" class="Org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">Ten<property name="TargetObject" ref="JobManager"/> One<property name="Targetmethod" ref="dojoblist"/> A</bean> -<bean id="Jobtrigger" class="Org.springframework.scheduling.quartz.CronTriggerBean"> -<property name="Jobdetail" ref="Jobtask"/> the<property name="cronexpression"> -<!--5 minutes per hour to perform job--- -<value>0 0/1* * * *?</value> -</property> +</bean> -<!--manage the total set of triggers, manage our list of triggers, and place multiple triggers in the bean list. - +<bean autowire="No" class="Org.springframework.scheduling.quartz.SchedulerFactoryBean"> A<property name="triggers"> at<list> -<refLocal="Jobtrigger"/> -</list> -</property> -</bean>
View Code

The @RELEASE is a publicly released version, which is a stable version of the jar package without release notes. such as Spring-core-3.2.2-release.jar and Spring-core-3.2.2.jar.

Online Information: (older spring version)
Spring.jar is a single jar package that contains a complete release module. But not including Mock.jar, Aspects.jar, Spring-portlet.jar, and Spring-hibernate2.jar. Spring-src.zip is all the source code compression package. In addition to the Spring.jar file, Spring includes 21 other separate jar packages, each containing a corresponding Spring component, which allows the user to choose to assemble their own jar packages, rather than having to introduce all of the Spring.jar's class files. Spring-core.jar This jar file contains the basic core tool classes of the spring framework. The other components of Spring use the classes in this package, which is the basic core of the others, and of course you can use them in your own application system. Externally dependent Commons Logging, (log4j). Spring-beans.jar This jar file is used by all applications, including access to configuration files, creation and management of beans, and inversion of control/dependency injection (ioc/ DI) operations related to all classes. If the application requires only basic Ioc/di support, the introduction of Spring-core.jar and Spring-beans.jar files is possible. Externally dependent Spring-core, (CGLIB). Spring-aop.jar This jar file contains the class and source-level metadata support required to use the Spring AOP feature in your app. Using the spring features based on AOP, such as declarative transaction management (declarative Transaction Management), also include this jar package in your application. Externally dependent Spring-core, (Spring-beans,aop Alliance, Cglib,commons Attributes). Spring-context.jar This jar file provides a number of extensions to the spring core. You can find all the classes you need to use the Spring ApplicationContext feature, Jdni all the classes you need, instrumentation components, and related classes for validating validation. Externally dependent Spring-beans, (SPRING-AOP). Spring-dao.jar This JAR file contains spring DAO, Spring transactiOn all classes for data access. In order to use declarative transaction support, you also need to include Spring-aop.jar in your own application. Externally dependent Spring-core, (SPRING-AOP, Spring-context, JTA API). Spring-jdbc.jar This jar file contains all of the classes that encapsulate spring's JDBC data access. Externally dependent Spring-beans,spring-dao. Spring-support.jar This jar file contains support UI templates (Velocity,freemarker,jasperreports), mail services, scripting Services (JRuby), cache caches (EHCache), A class for Task Scheduler scheduling (Uartz). Externally dependent Spring-context, (SPRING-JDBC, Velocity, Freemarker, JasperReports, BSH, Groovy, JRuby, Quartz, EHCache) Spring-web.jar This jar file contains the core classes required to use the spring framework when developing Web applications, including classes that automatically load Web application Context features, Struts and JSF integration classes, File upload support classes, Filter class and a large number of tool helper classes. Externally dependent Spring-context, Servlet API, (JSP API, JSTL, Commons FileUpload, COS). Spring-webmvc.jar This jar file contains all the classes related to the Spring MVC framework. Includes framework for SERVLETS,WEB MVC Framework, controller and view support. Of course, if your app uses a stand-alone MVC framework, you don't need any classes in this jar file. Externally dependent Spring-web, (spring-support,tiles,itext,poi). Spring-portlet.jarspring's own implementation of a framework similar to spring MVC. Includes an MVC framework and controller. External dependent spring-web, Portlet API, (SPRING-WEBMVC). The Spring-struts.jarstruts framework supports a more convenient and easy integration of the struts framework. Externally dependent spring-web,struts. Spring-remoting.jar This jar file contains support for theClasses that hold EJBS, remotely invoke remoting (RMI, Hessian, Burlap, Http Invoker, Jax-RPC). External dependent SPRING-AOP, (SPRING-CONTEXT,SPRING-WEB,HESSIAN,BURLAP,JAX-RPC,EJB API). Spring-jmx.jar This jar package provides support classes for JMX 1.0/1.2. Externally dependent SPRING-BEANS,SPRING-AOP, JMX API. Spring-jms.jar This jar package provides support classes for JMS 1.0.2/1.1. Externally dependent SPRING-BEANS,SPRING-DAO,JMS API. Spring-jca.jar Support for JCA 1.0. Externally dependent Spring-beans,spring-dao, JCA API. Spring-jdo.jar support for Jdo 1.0/2.0. Externally dependent SPRING-JDBC, JDO API, (spring-web). Spring-jpa.jar Support for JPA 1.0. Externally dependent SPRING-JDBC, JPA API, (spring-web). Spring-hibernate2.jar support for Hibernate 2.1 is not recommended for use. Externally dependent Spring-jdbc,hibernate2, (spring-web). Spring-hibernate3.jar support for Hibernate 3.0/3.1/3.2. Externally dependent spring-jdbc,hibernate3, (spring-web). Spring-toplink.jar support for the TopLink framework. Externally dependent Spring-jdbc,toplink. Spring-ibatis.jar support for Ibatis SQL maps. Externally dependent Spring-jdbc,ibatis SQL Maps. The other two packages. Spring-mock.jar This jar file contains the spring set of mock classes to aid in the testing of the application. The Spring test suite uses a large number of these mock classes, which makes testing easier. Simulating the HttpServletRequest and HttpServletResponse classes is convenient for Web application unit testing. And it provides support for JUnit. Externally dependent Spring-core. Spring-aspects.jar provides the ASPECTJSupport so that aspect-oriented features can be easily integrated into the IDE, such as Eclipse AJDT. External dependencies. WEAVER JARS (dist/weavers) description. Spring-agent.jarspring instrumentationsavingagent (for instrumentationloadtimeweaver), a device agent package, You can refer to JDK1.5 's instrumentation function for more information. External dependent none (for use at JVM Startup: "-javaagent:spring-agent.jar"). Spring-tomcat-weaver.jar expands Tomcat's classloader so that it can use the instrumentation (device) class. External dependent none (for deployment into Tomcat ' s "server/lib" directory).

  Extranet Profile 2:

Since 3.0, the package structure has changed, each module independent out of a package, the division of labor is clear, the user can assemble the jar according to different requirements, instead of the whole Spring.jar into the project as before, the following take 3.2m1 as an example, briefly introduce the package structure of spring: Spring-core.ja R: Contains the basic core tool classes of the spring framework, and the other components of spring are used in the class of this package, which is the basic core of other components. ; Spring-aop.jar: Aspect-oriented programming, providing AOP (aspect-oriented programming) implementation, spring-aspects.jar:spring integration Aspectjrt.jar, can also use Aspectjrt.jar to replace; spring-beans.jar:s The underlying implementation of PRINGIOC (Dependency injection), which is used by all applications, includes access to configuration files, creation and management of beans, and all classes related to inversion of control/dependencyinjection (IOC/DI) operations Spring-context.jar:spring provides extended services on basic IoC functionality, plus support for many enterprise-class services such as mail services, task scheduling, jndi positioning, EJB integration, remote access, caching, and encapsulation of various view-layer frameworks Spring-context-support.jar:spring-context Extended support includes support for cache caches (Ehcache), JCA, JMX, mail Service (JavaMail, COS Mail), A class for Task Scheduler scheduling (Timer, Quartz). The spring-asm.jar:asm is a small, lightweight Java bytecode manipulation framework that makes it easy to build and transform Java code. Both Hibernate and Spring use ASM on the ground floor (ASM for Cglib)  ; spring-expression.jar:spring expression language; spring-instrument.jar:spring3.1 Agent interface to the server spring-instrument-tomcat.jar:spring3.1 Integration of Tomcat's connection pool; Spring-jdbc.jar: Contains all classes that encapsulate Spring's JDBC data access; Spring-jms.jar: Provides support classes for jms1.0.2/1.1 ; Spring-orm.jar: Contains spring extends the DAO attribute set to support theIBATIS, JDO, OJB, TopLink, because Hibernate is already a separate package, is not included in this package now. Most of the classes in this jar file depend on the class in the Spring-dao.jar, you need to include the Spring-dao.jar package when you use the package, spring-oxm.jar:spring support for OBJECT/XMI mapping, Lets you switch between Java and XML ; Spring-struts.jar: support for integrated struts; spring-test.jar:spring simple encapsulation of test frameworks such as JUnit; Spring-tx.jar: provides support for transactions; Spring-web.jar: Includes web App development The core classes required by the spring framework include classes that automatically load the Webapplicationcontext attribute, struts and JSF integration classes, File upload support classes, filter classes, and a large number of tool helper classes ; Spring-webmvc.jar: This jar file contains all classes related to the Spring MVC framework. Contains Freemarker, JasperReports, Tiles, Velocity, and XSLT related classes for internationalization, labeling, Theme, view presentation. Of course, if your application uses a separate MVC framework, no classes in this jar file are required; SPRING-WEBMVC-PORTLET.JAR:SPRINGMVC Enhancements support portlet standards (jsr168/jsr286);

Spring jar Package Use features:

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.