Spring boot is a project of Spring. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". Spring boot application needs minimal spring configurations. Spring boot is a spring module that provides rapid application (RAD) development features of spring framework. I have following mentioned some of Spring boot features according to the Spring boot official documentation.
Features set of Spring boot:
- Create stand-alone spring applications
- Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)
- Provide opinionated 'starter' dependencies to simplify your build configuration
- Automatically configure Spring and 3rd party libraries whenever possible
- Provide production-ready features such as metrics, health checks, and externalized configuration
- Absolutely no code generation and no requirement for XML configuration
Spring boot= spring framework + embedded servers (tomcat,jetty) - complex XML configurations
Spring boot is combination of Spring framework and Tomcat,jetty embedded servers. And also it removes complex xml configurations of Spring framework.
Benefits/Importance of Spring boot:
- Dependency injection approach is used in spring boot
- Powerful database transaction management capabilities
- It simplifies integration with other Java frameworks like JPA/Hibernate ORM, Struts, etc.
- It reduces the development time
- It has embedded web servers (tomcat,jetty)
- Reduced XML configurations
- It offers a CLI tool for developing and testing the Spring Boot application.
- It provides production-ready features such as metrics, health checks, and externalized configuration.
- It provides opinionated 'starter' POMs to simplify our Maven configuration.
- It creates stand-alone Spring applications that can be started using Java -jar.
Prerequisites for Spring boot:
- Java 1.8
- Maven 3.0 <
- IDE (Spring tool suite -STS is recommended )
Happy Coding !
References:
- Spring. 2020. Spring Boot. [ONLINE] Available at: https://spring.io/projects/spring-boot#overview.
- www.javatpoint.com. 2020. Learn Spring Boot Tutorial - javatpoint. [ONLINE] Available at: https://www.javatpoint.com/spring-boot-tutorial. .

No comments:
Post a Comment