Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advantage of Spring Boot [closed]

I have been trying to understand Spring Boot and maybe migrate my project to it. However I do not get the real advantage of it except the embedded Tomcat. Would you kindly explain to me what is the real power of Spring Boot compared to regular Spring?

like image 243
Ozum Safa Avatar asked Mar 03 '15 12:03

Ozum Safa


People also ask

What are the main advantages of spring boot?

Advantages of Spring Boot:It reduces lots of development time and increases productivity. It avoids writing lots of boilerplate Code, Annotations and XML Configuration. It is very easy to integrate Spring Boot Application with its Spring Ecosystem like Spring JDBC, Spring ORM, Spring Data, Spring Security etc.

What are the disadvantages of using spring boot?

Disadvantages of Spring Boot Spring Boot creates a lot of unused dependencies, resulting in a large deployment file; The complex and time-consuming process of converting a legacy or an existing Spring project to a Spring Boot application; Not suitable for large-scale projects.

What are the advantages and disadvantages of using spring?

Parallel Mechanisms – One of the biggest advantages of Spring is that it gives developers a wide array of options, but this could also be a disadvantage because it causes confusion. Developers have to know which features will be useful, and making the wrong decisions could lead to significant delays.

What is the use of @SpringBootApplication?

Spring Boot @SpringBootApplication annotation is used to mark a configuration class that declares one or more @Bean methods and also triggers auto-configuration and component scanning. It's same as declaring a class with @Configuration, @EnableAutoConfiguration and @ComponentScan annotations.


1 Answers

Quoting from the Spring Boot Page, it has following features:

  1. Create stand-alone Spring applications
  2. Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
  3. Provide opinionated 'starter' POMs to simplify your Maven configuration
  4. Automatically configure Spring whenever possible
  5. Provide production-ready features such as metrics, health checks and externalized configuration
  6. Absolutely no code generation and no requirement for XML configuration
like image 83
Arpit Aggarwal Avatar answered Oct 09 '22 05:10

Arpit Aggarwal