Spring is a "engine"
Spring MVC is an MVC framework based on spring
Spring Boot is a set of rapid development integration packages based on SPRING4 conditional registration
Spring initially decouples application components with "Factory mode" (DI) and "proxy mode" (AOP)
The Spring Framework is a layered architecture consisting of 7 well-defined modules.
The Spring module is built on top of the core container , and the core container defines how the beans are created, configured, and managed, and each module (or component) that makes up the spring framework can exist separately. or implemented in conjunction with one or more modules.
Core container : The core container provides the basic functionality of the Spring framework. The main component of the core container is Beanfactory, which is the implementation of the factory pattern. The Beanfactory uses the inversion of Control (IOC) pattern to separate the application's configuration and dependency specifications from the actual application code.
The 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.
Spring AOP: With the configuration management feature, the Spring AOP module directly integrates aspect-oriented programming capabilities into the Spring framework. 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.
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 number of exception codes that need to be written (such as opening and closing connections). Spring DAO 's JDBC -oriented exception conforms to the common DAO exception hierarchy.
Springorm: The spring framework inserts several ORM frameworks, providing an ORM Object- relational tool that includes JDO, Hibernate and iBatis SQL Map. All of these conform to Spring's common transaction and DAO exception hierarchies.
Spring Web module : The Web context module is built on top of the application context module and provides the context for Web-based applications. Therefore, theSpring Framework supports integration with Jakarta Struts . The Web module also simplifies the process of working with multipart requests and binding request parameters to domain objects.
theSpring MVC Framework : The MVC Framework is a full-featured MVC implementation of building WEB applications . With the policy interface, theMVC framework becomes highly configurable, andMVC accommodates a large number of view technologies, including JSP,Velocity,Tiles, iText and POI.
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 reusable business and data access objects that are not tied to a particular Java EE service. There is no doubt that such objects can be reused across different java EE environments (Web or EJB), standalone applications, and test environments .
Spring, Spring MVC, Spring Boot