Advantages of Spring MVC over Spring Boot
Spring MVC is just a pattern that spring framework uses,if you are using spring framework, you are already following spring mvc pattern.
If you use spring framework and not following mvc architecture there is no point in using it.
So your question must be what are the advantages of spring framework over spring boot.
Answer is NONE.
Actually,Spring boot was introduced to get rid of problems that spring framework had.
Spring framework is just a skeleton version of all the spring components required to build an application,All the configuration required should be done by yourself.
On the other hand,Spring boot acts as a container for spring components in which you will get more features than traditional spring framework such as
1. Embedded Server
2. Auto Configuration
3. Health Check
4. Standalone fat jars and much more
You might be under the misunderstanding that Spring MVC and Spring Boot are different frameworks. Let's clear it for you!
Spring MVC
Spring MVC ( Model View Controller) is a module of the Spring Platform for application development.
It enables testing and resolving dependency injection issues after the application is created using the spring framework. It makes spring app development flexible and less complex.
Spring Boot
Spring Boot is also a part of the framework and includes Spring MVC to ease application development without any kind of configuration requirement.
Spring Boot is used for both WAR deployment and creation of standalone Java applications.
Comments
Post a Comment