What's the difference between Spring MVC and Spring Boot?

I can"t quite tell the difference between the two. All I know is that SpringBoot has a lot less configuration than SpringMVC, like less web.xml. Then a project with its own tomcat,Spring Boot does not need to build a tomcat server.

Mar.20,2021

the biggest difference I think is that there is no need to build a server, which is convenient for deployment.
of course, spring boot also takes up more resources than spring mvc


SpringMVC:

Spring Web MVC is the original web framework built on the Servlet API and included in the Spring Framework from the very beginning. The formal name "Spring Web MVC" comes from the name of its source module spring-webmvc but it is more commonly known as "Spring MVC".

Spring boot:

Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can run. We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

We can see from the introduction that the positioning of the two is actually different. SpringMVC is the MVC framework, and Spring Boot is to allow you to quickly develop Spring-based applications. Spring Boot simplifies the entire Spring ecological configuration through stater. For example, the starter corresponding to SpringMVC, mentioned in your question is spring-boot-starter-web , which you mentioned in terms of development experience. There are not many xml configurations and tomcat.

is built in.

take a look at this
Spring system list of commonly used items https://codeshelper.com/a/11.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb57e1-69cce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb57e1-69cce.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?