The features of spring's many jar packages and the Spring Jar package website Download method

Source: Internet
Author: User

Let 's talk about spring many jar package features, whether for beginners spring novice, or Spring master, this article will bring you the knowledge of the harvest, if you are already very familiar with the content of this article as a restudying bar.
Spring.jar is a single jar package that contains a full release. Spring.jar In addition to the content contained in the Spring-mock.jar, all the contents of the jar package, because only in the development environment will be used in the Spring-mock.jar to carry out the auxiliary testing, formal application system is not used in these classes. In addition to the Spring.jar file, Spring includes 13 other separate jar packages, each containing a corresponding spring component, which allows the user to select and assemble their own jar packages to suit their needs without having to introduce all the class files for the entire spring.jar.
Spring-core.jar This jar file contains the basic core tool classes of the spring framework, and the other components of spring use the classes in this package, which is the basic core of other components, and of course you can use them in your own application system. Spring-beans.jar This jar file is used by all applications and contains all classes that access the configuration file, create and manage beans, and perform inversion of control/dependency injection (IOC/DI) operations. If the application requires only basic Ioc/di support, the introduction of Spring-core.jar and Spring-beans.jar files is possible.
Spring-aop.jar This jar file contains the classes required to use spring's AOP features 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.
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 needed for the UI, and the template (templating) engine such as velocity, Freemarker, JasperReports integrated classes, and validation validation related classes.
Spring-dao.jar This jar file contains all the classes of Spring DAO, spring transaction for data access. In order to use declarative transaction support, you also need to include Spring-aop.jar in your own application.
Spring-hibernate.jar This jar file contains all of the classes that spring encapsulates for Hibernate 2 and Hibernate 3.
Spring-jdbc.jar This jar file contains all of the classes that encapsulate spring's JDBC data access. Spring-orm.jar This jar file contains spring to extend the DAO feature set to support IBATIS, JDO, OJB, TopLink, because Hibernate is already in its own package and is not currently included in the package. Most of the classes in this jar file depend on the class in Spring-dao.jar, and you need to include the Spring-dao.jar package when using this package. Spring-remoting.jar This jar file contains classes that support EJB, JMS, Remote call Remoting (RMI, Hessian, Burlap, Http Invoker, Jax-RPC).
Spring-support.jar This jar file contains support for cache caches (Ehcache), JCA, JMX, mail Service (Java mail, COS Mail), Task Scheduler scheduling (Timer , Quartz).
Spring-web.jar This jar file contains the core classes required to use the spring framework when Web applications are developed, including classes that automatically load Webapplicationcontext features, 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 the 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 app uses a separate MVC framework, you don't need all the classes in this jar file.
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 very convenient for Web application unit testing.
How do you choose these distribution packages? In fact, deciding which release packages to choose is actually quite simple. If you are building a web app and will use spring all the way, then the best is to use a single full Spring.jar file, if your app simply uses a simple inversion of control/dependency injection (ioc/ DI) container, then just Spring-core.jar and Spring-beans.jar, and if you have a very high demand for the size of the release, then you have to pick it up and just take the jar file that contains the features you want. With a standalone release package you can avoid all classes that contain your own apps. Of course you can use other tools to make the entire application package smaller, and the space-saving focus is to pinpoint the spring-dependent classes you need, and then merge the required classes and packages.

If you download the jar package. After the revision of the spring website to find resources is really (key is 中文版)

Website address: http://spring.io/

Pages to the Spring framework: http://projects.spring.io/spring-framework/

Find this version list click on the Red box description:

You will see a large introduction, there is no place to download, CTRL + F (I am searching with Chrome browser) search "Download", and then you will see:

Clicking on the Red box will appear as follows:

Good happy, what version would you like to have?

Of course you can also directly click on my this connection, directly here: directly to the download page

Also can use Baidu this method

Well, I'm not very much, let you point to the last to send this connection, if his address changes can not scold me in the heart Oh.

Features of Spring's many jar packages and how to download the Spring Jar package website

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.