Which backend technology should use in your project?
If you are starting a project from scratch, it’s better to use Spring Boot. It makes a lot of things simpler. However, there are a lot of legacy projects that are pre-Boot. If you are going to be a Spring developer, you might run into legacy projects that were built on Spring Framework
Why Spring Boot?
- To ease the Java-based applications Development, Unit Test and Integration Test Process.
- To reduce Development, Unit Test and Integration Test time by providing some defaults.
- To increase Productivity.
Advantages of Spring Boot:
- It is very easy to develop Spring Based applications with Java or Groovy.
- 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.
- It follows the “Opinionated Defaults Configuration” Approach to reducing Developer effort
- It provides Embedded HTTP servers like Tomcat, Jetty, etc. to develop and test our web applications very easily.
- It provides CLI (Command Line Interface) tool to develop and test Spring Boot(Java or Groovy) Applications from command prompt very easily and quickly.
- It provides lots of plugins to develop and test Spring Boot Applications very easily using Build Tools like Maven and Gradle
- It provides lots of plugins to work with embedded and in-memory Databases very easily.