The process of 1.Spring development
1> First stage: XML configuration (XML configuration files need to be divided into different configuration files);
2> second Stage: annotation configuration (provides annotations for declaring beans, such as @component, @Service, a basic configuration such as database configuration with XML, business Configuration annotated);
3> third stage: Java configuration (Java configuration is recommended for both spring4.x and spring boot).
The 2.Spring framework is a one-stop solution for lightweight, enterprise-class development.
The so-called solution is the ability to solve all the problems of Java EE development based on spring (IOC container, AOP, data access, web development, messaging, testing, etc.). Each object that is managed by spring is called a bean, and spring provides an IOC container for initializing objects, resolving dependency management between objects, and using objects.
Spring Boot Tutorial 1--spring overview