(1) Core containers of the seven major modules of Spring: Core containers provide basic functions of the Spring framework. The main component of the core container is BeanFactory, which is the implementation of the factory mode. BeanFactory uses the IOC mode to separate application configuration and dependency specifications from actual application code. Spring context is a configuration file that provides context information to the Spring framework. Spring context includes enterprise services, such as JNDI, EJB, email, internationalization, checksum scheduling, Spring AOP: Through configuration management features, the SpringAOP module directly integrates Aspect-oriented programming functions into the Spring framework. Therefore, any objects managed by the Spring framework can easily 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 applications without relying on the EJB component. Spring DAO: jdbc dao abstraction layer provides a meaningful exception hierarchy, this structure 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 Code to be written (for example, opening and closing connections ). JDBC-oriented exceptions of Spring DAO follow the general DAO exception hierarchy Spring ORM: The Spring framework inserts several ORM frameworks to provide an ORM object relationship tool, including JDO, Hibernate, and iBatis SQL Map. All of these comply with Spring's general transactions and DAO exception hierarchies Spring Web module: The Web context module is built on the application context module and provides context for Web-based applications. Therefore, the Spring framework supports integration with Jakarta Struts. The Web module also simplifies Spring MVC Framework for processing multiple requests and Binding Request Parameters to domain objects. The MVC Framework is a full-featured MVC implementation for Building Web applications. Through the policy interface, the MVC framework becomes highly configurable. MVC supports a large number of view technologies, including JSP, Velocity, Tiles, iText, and POI. (2) In Spring, IOC containers rely on the injection (DI) mode to implement the IoC principle. The most basic Java Technology in IoC is reflection programming. In IOC mode, IOC containers can be used to manage object lifecycles and Dependencies by introducing IOC containers, thus, application configuration and dependency specifications are separated from the actual application code. One feature is to configure the relationship between application components through the text configuration file, instead of re-modifying and compiling specific code. (3) AOP Aspect-Oriented AOP (Aspect Orient Programming), that is, Aspect-oriented Programming, as a supplement to object-oriented Programming, it is specially used to deal with cross-focus issues distributed in various modules (different methods) in the system. In Java EE applications, AOP is often used to deal with system-level services with cross-cutting nature, such as transaction management, security check, cache, and Object pool management. The key to Implementing AOP lies in the automatic creation of the AOP proxy by the AOP framework. The AOP proxy is mainly divided into two categories: static proxy and dynamic proxy. The static proxy is represented by AspectJ; dynamic proxy is represented by Spring AOP. This article will begin with AspectJ analysis, and introduce CGLIB to introduce the implementation principles of Spring AOP framework.