Want to summarize the Java Jar package, add a daily order

Source: Internet
Author: User

2017-4-25: Organizing the jar package for spring

  

Spring consists of 13 separate jar packages, each containing the corresponding spring components, and users can choose to assemble their own jar packages according to their needs without having to introduce all the class files of the entire Spring.jar.
(1) Spring-core.jar
This jar file contains the basic core tool classes of the spring framework, and the other components of the spring are used in the class of the package, the basic core of other components, and of course you can use these tools in your own application system.
(2) 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.
(3) Spring-aop.jar
This jar file contains the classes 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.
(4) 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 that you need, and the UI aspects used with the template (templating) engine such as velocity, Freemarker, JasperReports integrated classes, and related classes for verifying validation.
(5) 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.
(6) Spring-hibernate.jar
This jar file contains all of the classes that spring encapsulates for Hibernate 2 and Hibernate 3.
(7) Spring-jdbc.jar
This jar file contains all the classes that encapsulate spring's JDBC data access.
(8) 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 now not 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.
(9) Spring-remoting.jar
This jar file contains classes that support EJB, JMS, Remote call Remoting (RMI, Hessian, Burlap, Http Invoker, Jax-RPC).
(Ten) Spring-support.jar
This jar file contains classes that support cache caches (Ehcache), JCA, JMX, mail services (Java mail, COS Mail), Task Scheduler scheduling (Timer, Quartz).
(one) 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 the Webapplicationcontext attribute, struts and JSF integration classes, File upload support classes, the filter class, 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 stand-alone MVC framework, you don't need any 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 convenient for Web application unit testing.

Want to summarize the Java Jar package, add a daily order

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.