01. First introduction to Spring framework

01. First introduction to Spring framework

1.1 Overview

Spring is an open source lightweight Java development application framework that can simplify enterprise application development. Spring solves many common problems that developers encounter in JavaEE development and provides powerful IOC, AOP and Web MVC functions. It is one of the almost indispensable frameworks for Java development in current enterprises. Spring's ecology is so complete that no matter which field Spring solutions are in, they are all dependent on the Spring Framework basic framework.

1) IoC control inversion is to invert the right of the program to create beans to a third party;
2) DI dependency injection, a complete bean needs to depend on the injection of other beans (or attributes);
3) AOP aspect-oriented programming, using Horizontally extract method (attributes, objects, etc.) ideas and assemble them into a functional aspect.

1.2 History

  1. Jsp silently carry everything;
  2. MVC+ three-tier architecture has clear division of labor, but the development cost is extremely high;
  3. The emergence of the EJB heavyweight framework has left one dilemma and entered another;
  4. Spring comes, and with it, SSH becomes popular and dominates the martial arts world;
  5. Spring stabilizes the position of the big brother in the world, and SSM begins to take over;
  6. Spring has developed rapidly based on the "use-it-all" mentality, and its ecology has continued to improve;
  7. SpringBoot has reached another milestone, and has mastered the idea of ​​"convention over configuration";
  8. SpringCloud packages many solutions for microservices, making it easier to deal with Internet projects!

1.3 Official website

Click to enter the official website of Spring Framework
Insert image description here

1.4 Technology stack

Insert image description here

Guess you like

Origin blog.csdn.net/ChennyWJS/article/details/131939895