Getting Started with Spring Boot
Posted By : Dimpal Bhatia | 03-Jan-2020
Spring Boot is the Framework to ease a bootstrapping and development of new Spring Applications. It provides default features for code and annotation configuration to start new Spring projects within no time. It follows “Opinionated Defaults Configuration” and other approaches to avoid a lot of configuration to improve Unit Test, Integration Test Process and Development and boilerplate code.
Why Spring Boot?
1) Increases Productivity
2) To reduce Unit Test, Integration Test time and development by giving some defaults.
3) To ease the Unit Test, Integration Test Process and Java-based applications Development.
Advantages of Spring Boot:
1) It is very easy to development of Spring Based applications with Groovy or Java.
2) It reduces lots of time of development time and increases productivity.
3) It saves time by avoiding to write lots of boilerplate Codes, Annotations, and XML Configuration.
4) It is not difficult to integrate Spring Boot Application with its Spring Ecosystem like Spring JDBC, Spring ORM, Spring Data, Spring Security, etc.
5) It reduces Developer effort by following the “Opinionated Defaults Configuration” Approach.
6) It provides an ease to develop and test our web applications very easily by providing embedded HTTP servers like Tomcat, Jetty, etc.
7) It provides a Command Line Interface tool to develop and test Spring Boot Applications from command prompt very easily and quickly.
8) It provides plugins to develop and test Spring Boot Applications very easily by using Tools like Maven and Gradle.
9) It provides plugins to work with in-memory Databases.
Main Goal of Spring Boot:
The main goal of the Spring Boot framework is to reduce the work of Development, Unit Test and Integration Test time and to ease the development of Production-ready web applications easily as compared to existing Spring Framework, which takes more time.
1) It avoids XML Configuration completely
2) It avoids defining more Annotation Configuration(It combined some existing Spring Framework Annotations to a simple and single Annotation)
3) It avoids writing lots of import statements
4) It provides some defaults to quick start new projects within no time.
5) It provides an Opinionated Development approach.