Objective:
Reduce the complexity of Java development
Usage Policy:
Lightweight and minimal intrusive programming based on Pojo
Loose coupling via Dependency injection and interface-oriented
Declarative programming based on facets and conventions
Reduce style code with facets and templates
Dependency Injection: The object variables defined by spring that manage the dependencies of the objects in the system do not need to create or manage their own dependencies, but the spring container helps us create the specified instance and injects the instance into the object variable that needs to depend on the object
Assembly: The behavior of creating collaborative relationships between application components is called assembly, one step. There are many ways to implement
Automated assembly: Through component scanning and automated assembly
Component Scan: Spring Auto-discovery Bean created by app context
Automatic assembly: Spring automatically satisfies bean dependencies and injects beans
Spring1 ()