0 votes
in Spring Boot by
What is difference between Spring MVC and Spring Boot ?

1 Answer

0 votes
by (3.6k points)
There are following difference between Spring Boot and Spring MVC:-

Spring Boot:- Spring boot is a utility for setting up applications quickly. It offering an out of the box configuration in order to build Spring powered applications. As you know, Spring integrates a wide range of different modules in its umbrella, such as:- spring-core, spring-data, spring-web and so on. With this tool you can tell Spring how many of them to use and you'll get a fast setup for them.

Spring MVC:- Spring MVC is a complete HTTP oriented MVC framework managed by the Spring Framework and based in Servlets. Most popular elements in it are classes annotated with @Controller, where you implement methods you can access using different HTTP requests. It has an equivalent @RestController to implement REST based APIs.

* SpringBoot is actually pre configured that reduced boiler configuration and providing easiest or quick way to start your application.

* SpringBoot take the headache of configuration from developer to it's own self rather than Spring.

* In SpringBoot by default port of Server is 8080 but if you want to change then go to your application.properties and write
server.port = 8084

* Implicitly SpringBoot is based on Spring framework concept like bean, controller , services, jpa etc. Mens you can say that SpringBoot is a wrapper of Spring.

Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.