Supplement 4: Comparison of Spring Spring MVC Spring Boot three

In general, Spring is like a big family, with many derivative products such as Boot, Security, JPA and so on. But their foundation is Spring's IOC and AOP, IOC provides a container for dependency injection, and AOP solves aspect-oriented programming, and then implements the advanced functions of other derivative products on the basis of the two;

Spring MVC is an MVC framework based on Servlet, which mainly solves the problem of WEB development, because the configuration of Spring is very complicated, and the processing of various xml and properties is cumbersome.

So in order to simplify the use of developers, the Spring community creatively launched Spring Boot, which follows conventions better than configuration, which greatly reduces the threshold for using Spring, but does not lose Spring’s original flexible and powerful functions. The following is a picture to describe The relationship between the three:

 

The last sentence summarizes: Spring MVC and Spring Boot belong to Spring, Spring MVC is an MVC framework based on Spring, and Spring Boot is a set of rapid development integration packages based on Spring

 

 

What is JPA

 

JPA (Java Persistence API) is the Java persistence specification officially proposed by Sun. It provides an object/association mapping tool for Java developers to manage relational data in Java applications. His appearance is mainly to simplify the existing persistence development work and integrate ORM technology, ending the current situation where ORM frameworks such as Hibernate, TopLink, and JDO are operating independently.

 

What is Servlet?

Java Servlet is a program running on a Web server or application server. It acts as an intermediate layer between a request from a Web browser or other HTTP client and a database or application on the HTTP server.

Reference link:

Spring,Spring MVC及Spring Boot区别

https://www.jianshu.com/p/42620a0a2c33

Guess you like

Origin blog.csdn.net/qq_42198024/article/details/108058743