I want to start working on Spring. So what should I start with: Spring MVC or Spring Boot?
@Controller, where you implement methods you can access using different HTTP requests. It has an equivalent @RestController to implement REST based APIs.Spring Boot. Its is simpler and works with other spring ecosystem. It saves you a lot of time and the need to be adding unnecessary annotations.
Read my beginner level in depth tutorial on how to build REST API in Spring Boot with MySQL
A Spring boot application can contain all the Spring MVC dependencies.
Start here to generate a spring boot project: start.spring.io
This is a good guide for getting started serving web content: spring.io/guides/gs/serving-web-content
If you're already past that info, there are a lot more guides that may help: spring.io/guides
codey
Ipseeta Priyadarshini
Software Developer
When we are developing a web application using Spring MVC, we have to manually write the configurations, XML files, etc. for deploying to web server. But in case of Spring Boot, it bundles all the dependencies for us which results in a standalone JAR file with embedded servers. We don't need to manually configure dispatcher servlet, static resource mappings, property source loader, message converters etc.