Detailed explanation of spring JAR package

spring.jar is a single jar that contains the complete distribution module. But mock.jar, aspects.jar, spring-portlet.jar, and spring-hibernate2.jar are not included. spring-src.zip is all the source code compressed package. In addition to the spring.jar file, Spring also includes 21 other independent jar packages, each of which contains the corresponding Spring components. Users can choose and combine their own jar packages according to their own needs without introducing all the classes of the entire spring.jar. document. spring-core.jar This jar file contains the basic core utility classes of the Spring Framework. The classes in this package must be used by other Spring components, which are the basic core of other components. Of course, you can also use these tool classes in your own application system. External dependency Commons Logging, (Log4J). spring-beans.jar This jar file is used by all applications. It contains all classes related to accessing configuration files, creating and managing beans, and performing Inversion of Control / Dependency Injection (IoC/DI) operations. If the application only needs basic IoC/DI support, it is enough to import the spring-core.jar and spring-beans.jar files. External dependencies spring-core, (CGLIB). spring-aop.jar This jar file contains the classes and source-level metadata support needed to use Spring's AOP features in an application. Use AOP-based Spring features, such as Declarative Transaction Management, and include this jar in your application. External dependencies 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 required to use the Spring ApplicationContext features, all the classes required by JDNI, the instrumentation components, and related classes for validation. External dependencies spring-beans, (spring-aop). spring-dao.jar This jar file contains all the classes for data access by Spring DAO and Spring Transaction. In order to use declarative transaction support, you also need to include spring-aop.jar in your application. External dependencies spring-core, (spring-aop, spring-context, JTA API). spring-jdbc.jar This jar file contains all the classes that encapsulate Spring's JDBC data access. External dependencies spring-beans, spring-dao. spring-support.jar This jar file contains classes that support UI templates (Velocity, FreeMarker, JasperReports), mail service, script service (JRuby), Cache (EHCache), and task scheduling (uartz). External dependencies spring-context, (spring-jdbc, Velocity, FreeMarker, JasperReports, BSH, Groovy, JRuby, Quartz, EHCache) spring-web.jar This jar file contains the core required when using the Spring framework for web application development Classes, including classes for auto-loading Web Application Context features, Struts and JSF integration classes, file upload support classes, Filter classes, and a number of tool helper classes. External dependencies spring-context, Servlet API, (JSP API, JSTL, Commons FileUpload, COS). spring-webmvc. jar This jar file contains all classes related to Spring MVC framework. Includes framework Servlets, Web MVC framework, controller and view support. Of course, if your application uses a standalone MVC framework, you don't need any of the classes in this JAR file. External dependencies spring-web, (spring-support, Tiles, iText, POI). spring-portlet.jar A Spring MVC-like framework implemented by spring itself. Includes an MVC framework and controllers. External dependencies spring-web, Portlet API, (spring-webmvc). spring-struts.jar Struts framework support, can be more convenient and easier to integrate Struts framework. External dependencies spring-web, Struts. spring-remoting.jar This jar file contains classes that support EJB, Remote Call Remoting (RMI, Hessian, Burlap, Http Invoker, JAX-RPC). External dependencies 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. External dependencies spring-beans, spring-aop, JMX API. spring-jms.jar This jar package provides support classes for JMS 1.0.2/1.1. External dependencies spring-beans, spring-dao, JMS API. spring-jca.jar for JCA 1.0 support. External dependencies spring-beans, spring-dao, JCA API. spring-jdo.jar for JDO 1.0/2.0 support. External dependencies spring-jdbc, JDO API, (spring-web). spring-jpa.jar for JPA 1. 0 support. External dependencies spring-jdbc, JPA API, (spring-web). spring-hibernate2.jar supports Hibernate 2.1 and has been deprecated. External dependencies spring-jdbc, Hibernate2, (spring-web). spring-hibernate3.jar support for Hibernate 3.0/3.1/3.2. External dependencies spring-jdbc, Hibernate3, (spring-web). spring-toplink.jar Support for TopLink framework. External dependencies spring-jdbc, TopLink. spring-ibatis.jar support for iBATIS SQL Maps. External dependencies spring-jdbc, iBATIS SQL Maps. The other two packages. spring-mock.jar This jar file contains a complete set of Spring mock classes to aid in application testing. The Spring test suite uses many of these mock classes to make testing easier. Mocking the HttpServletRequest and HttpServletResponse classes is handy in unit testing Web applications. And provides support for JUnit. Externally depends on spring-core. spring-aspects.jar provides AspectJ support so that aspect-oriented functionality can be easily integrated into IDEs such as Eclipse AJDT. External dependencies. WEAVER JARS (dist/weavers) instructions. spring-agent.jar Spring's InstrumentationSavingAgent (InstrumentationLoadTimeWeaver), a device agent package, you can refer to the Instrumentation function of JDK1.5 for more information. External dependencies none (for use at JVM startup: "-javaagent:spring-agent.jar" ). spring-tomcat-weaver.jar extends Tomcat's ClassLoader so that it can use the instrumentation (device) class. External dependencies none (for deployment into Tomcat's "server/lib" directory).

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326270328&siteId=291194637