1.Spring overall architecture and environment build 1.1 Spring's overall architecture
(1) Core Container
The core Container package contains core,beans,context and expression language modules.
(2) Data access/integration
(3) Web
(4) AOP
The AOP module provides a facet-oriented implementation that conforms to the AOP Federation standard, allowing you to define, for example, method interceptors and pointcuts, to separate logical code and reduce their coupling.
(5) Test
The test module supports testing of spring components using JUnit and testng.
2. Basic implementation of the container 2.1 basic usage of the container
Beans are the core of spring, and beans are like water in a container, and it is useless for a bucket to break out of the water.
(1) Read the configuration file
(2) Find the corresponding class configuration according to the configuration file, and instantiate
(3) Invoking an instantiated instance
Spring Source parsing