1. Spring is a one-stop lightweight Java development framework, the core is Inversion of Control (IOC) and Aspect Oriented (AOP), for the development of the Web layer (SpringMVC), business layer (IOC), persistence layer (JDBCTemplate) to provide a variety of configuration solutions.
  2. Spring MVC is an MVC framework based on Spring. It mainly deals with the path mapping and view rendering of Web development. It is a part of Web layer development in Spring framework.

For springMvc and springBoot:

  1. Spring MVC is an MVC framework for enterprise WEB game development, covering front-end view development, file configuration, back-end interface logic development, etc., while XML, CONFIG and other configuration are relatively complicated.
  2. Compared with Spring MVC framework, SpringBoot framework focuses more on the development of micro-service background interface and does not develop the front-end view fhadmin.cn. At the same time, it follows the default is better than configuration, which simplifies the plug-in configuration process and does not need to configure XML. Compared with Spring MVC, it greatly simplifies the configuration process.

SpringBoot and springCloud:

  1. Spring Boot uses the concept of default greater than configuration, integrates multiple Spring plug-ins for rapid development, and automatically filters the redundant plug-ins that do not need to be configured. It simplifies the development and configuration process of the project, cancels XML configuration to some extent, and is a set of scaffolding for rapid configuration and development. Fhadmin.cn, can quickly develop a single micro service;
  2. Most of the functional page game plugins in Spring Cloud are implemented based on Spring Boot. Spring Cloud focuses on the integration and management of global microservices, integrating and managing multiple single microservices of Spring Boot. SpringCloud relies on SpringBoot, which can be developed independently.

Conclusion:

  1. The Spring framework is like a family of derivatives such as Boot, Security, JPA, and so on. But they are all based on Spring’s IoC, AOP, etc. IoC provides a container for dependency injection, AOP solves cross-section-oriented programming, and then implements other advanced functionality on top of both.
  2. Spring MVC mainly solves the problems of Web development. It is an MVC framework based on www.sangpi.comServlet. Through XML configuration, it develops the front-end view and back-end logic in a unified way.
  3. Due to the very complex configuration of Spring, various XML, JavaConfig, Servlet processing is relatively tedious, in order to simplify the use of developers, so the creative launch of Spring Boot framework, the default is better than the configuration, simplifying the Spring MVC configuration process; However, different from SpringMVC,fhadmin.cn, SpringBoot focuses on the development of single microservice interface and decoupling the front end. Although SpringBoot can also be developed together with the front and back end of SpringMVC, this is not in line with the original intention of SpringBoot framework.
  4. As for the Spring Cloud framework, it focuses on the development of microservices just like SpringBoot. However, SpringCloud focuses more on the integration and management of global microservice interfaces, which is equivalent to managing single microservices of multiple SpringBoot frameworks.