1、Spring
1.1. Introduction
- Spring: spring --------> brings spring to the software industry
- In 2002, the prototype of the Spring framework was launched for the first time: the interface21 framework
- The Spring framework is based on the interface21 framework. It has been redesigned and continuously enriched. The official version 1.0 was released on March 24, 2004.
- Rod Johnson, founder of Spring Framework, famous author, education: Ph.D., University of Sydney -> Musicology
- Spring philosophy: making existing technologies easier to use is a hodgepodge in itself, integrating existing technical frameworks
1.2. Advantages
- Spring is an open source and free framework (container)
- Spring is a lightweight, non-intrusive framework
- Inversion of Control (IOC), Aspect Oriented Programming (AOP)
- Support transaction processing, support for framework integration
To sum up one sentence: Spring is a lightweight Inversion of Control (IOC) and Aspect-Oriented Programming (AOP) framework
1.3 Composition
1.4 Expansion
There is this introduction on Spring's official website: Modern java development, to put it bluntly, is based on Spring development
Spring boot
- A Rapid Development Scaffold
- A single microservice can be quickly developed based on Springboot
- convention over configuration
Spring Cloud
- SpringCloud is implemented based on SpringBoot
Because most companies are now using Springboot for rapid development, the premise of learning Springboot needs to fully master Spring and SpringMVC, which is a link between the previous and the next.
Disadvantages: After developing for too long, it violates the original concept, and the configuration is very cumbersome. It is called "configuration hell"