Spring MVC or Spring Boot [closed]

My personal advice is to definitely use Spring Boot for many reasons.

  1. The first is that Boot is the “future of Spring”. That means that with Boot
    you can benefit from many commitments of the Spring community. Most of the
    Spring projects today are completely
    integrated with Boot, even the community starts to develop many
    applications based on Boot. For example for managing and monitoring.
    I can suggest to see Spring Boot Admin

  2. With Spring Boot you can benefit from very nice and useful features such as
    actuator and remote shell for managing and monitoring, that
    improves your application with production ready features that are very
    useful.

  3. Very nice and powerful properties and configuration controls – you
    can configure your application with application.properties/yml
    and extend the boot in a very simple and impressive way, even the
    management in terms of overriding is very powerful.

  4. It is one of the first micro-service ready platforms, and in my opinion
    nowadays it is the best! Even if you don’t build a micro-service
    project with boot you can benefit of using a modern approach in which
    you have a auto-consistent jar that can benefit from all the features
    that I described above or if you prefer you can impose the packaging
    as a classical war and deploy your war in any of the containers that
    you want.

  5. Use of an intelligent and convention over configuration approach that
    reduces the startup and configuration phase of your
    project significantly. In fact you have a set of starter Maven or Gradle dependencies
    that simplify the dependency management. Then with the
    auto-configuration characteristic you can benefit from a lot of
    standard configurations, that are introduced through the Conditional Configuration framework
    in Spring 4. You can override it with your specific
    configurations just defining your bean according with the
    convention that you can see in the auto-configure JAR of the Boot
    dependency. Remember that Spring is open-source and you can see the code. Also the documentation in my opinion is good.

  6. Spring initializer is a cool tool attainable at this link:
    https://start.spring.io/ is a very cool tool just to create your project in a very fast way.

I hope that this reflection can help you decide what is the best solution.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)