Spring Seven core modules
Core container (Spring core)
The core container provides the basic functionality of the spring framework. Spring organizes and manages individual components and their relationships in Java applications in a bean way. Spring uses beanfactory to generate and manage beans, which is the implementation of the factory pattern. Beanfactory using the inversion of control (IoC) mode to separate the applied configuration and dependency specifications from the actual application code
Application context (Spring context)
The spring context is a configuration file that provides contextual information to the spring framework. The spring context includes enterprise services such as Jndi, EJB, e-mail, internationalization, checksum scheduling capabilities.
Spring-oriented tangent programming (Spring AOP)
The Spring AOP module integrates aspect-oriented programming functionality directly into the spring framework through configuration management features. Therefore, it is easy to enable any object managed by the spring framework to support AOP. The spring AOP module provides transaction management services for objects in spring-based applications. By using Spring AOP, you can integrate declarative transaction management into your application without relying on EJB components.
JDBC and DAO modules (Spring DAO)
The JDBC, DAO abstraction layer provides a meaningful exception hierarchy that can be used to manage exception handling and error messages thrown by different database vendors. The exception hierarchy simplifies error handling and greatly reduces the amount of code that needs to be written, such as opening and closing links.
Object entity Mapping (Spring ORM)
The Spring framework inserts several ORM frameworks, providing a relational tool for ORM objects, including Hibernate, JDO, and IBatis SQL map, all conforming to spring's common things and DAO exception hierarchies.
Web module (Spring web)
The Web context module is built on top of the application context module and provides the context for Web-based applications. So the spring framework supports integration with struts, and the Web module simplifies the work of processing multipart requests and binding request parameters to domain objects.
MVC module (Spring Web MVC
The MVC framework is a full-featured MVC implementation of building Web applications. Through the policy interface, the MVC framework becomes highly configurable. MVC accommodates a large number of view technologies, including JSP, POI, etc., model to have javabean to compose, store in M, and view is a block, responsible for implementing model, controller represents logic code, by C thing. The functionality of the spring framework can be used in any Java EE server, and most features are also available in an out-of-management environment. The core point of spring is to support the object of access to reusable business and data that is not tied to a particular Java EE service, and there is no doubt that such objects can be reused between different Java environments, standalone applications, and test environments.
Spring into Spring---------seven core modules