Sunday 8 July 2018

Introduction to Spring Boot

By using spring boot, you can create standalone spring applications. Any typical web application requires Servlet container, caching library, messaging service etc., By using spring boot, you can get rid of this, spring boot provides all these capabilities by default.

Most of the spring boot applications require very minimal spring configuration.

Below are the features of spring boot.

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.   Absolutelyno requirement for XML configuration

System Requirements
At the time of writing this tutorial, 'Spring Boot 2.0.1.RELEASE' is the latest. It requires
1.   java 8 or higher,
2.   Spring Framework 5.0.5.RELEASE or above.

Is spring boot support maven and gradle?
Yes, explicit build support is provided for Maven 3.2+ and Gradle 4.

What are the servlet containers supported by spring boot?
You can deploy a spring boot application in any Servlet 3.1+ compatible containers.

Spring boot supports below embedded servlet containers officially.
Servlet Container
Servlet Version
Tomcat 8.5
3.1
Jetty 9.4
3.1
Undertow 1.4
3.1

If you would like to know more about embedded servlet container, I will recommend you go through my below tutorial series.

Reference

Previous                                                 Next                                                 Home

No comments:

Post a Comment