Jump to content

Spring Boot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Cngzz1 (talk | contribs) at 02:17, 2 July 2023 (Add in-line citation. Add missing reference. Changed "Key Features" to "Features"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Spring Boot
Original author(s)Rod Johnson
Developer(s)VMware
Initial releaseApril 2014; 11 years ago (2014-04)
Stable release
3.4.5[1] Edit this on Wikidata / 24 April 2025; 33 days ago (24 April 2025)
Repository
Written inJava
PlatformJava EE
TypeApplication framework
LicenseApache License 2.0
Websitespring.io/projects/spring-boot Edit this on Wikidata

Spring Boot Extension is Spring's convention-over-configuration solution for creating production-grade[2] Spring applications with minimal amounts of configuration.[3] Most of the application can be preconfigured using Spring team's "opinionated view"[4][5] of the best configuration and use of the Spring platform and third-party libraries.

Features

Bootstrapping DispatcherServlet

Spring Boot does not require manual configuration of the DispatcherServlet, since it automatically configures the application based on the configuration it detects.[11]

Spring Boot has a class SpringBootServletInitializer, which is a specialization of the WebApplicationInitializer.[11] This SpringBootServletInitializer is an out-of-the-box implementation of WebApplicationInitializer, which eliminates the need for the developer to construct their own implementation of the WebApplicationInitializer class.[11]

Autoconfiguration

Spring boot has an annotation, @SpringBootApplication, which allows the Spring Boot application to autoconfigure third-party libraries and detected features found on the classpath.[11] As an example, the class that has the @SpringBootApplication annotation can extend the SpringBootServerInitializer class if the application is packaged and deployed as a WAR file.[11]

Citations

  1. ^ "Release 3.4.5". 24 April 2025. Retrieved 1 May 2025.
  2. ^ a b Walls 2016, p. vii, §foreword.
  3. ^ Walls 2016, pp. 37–48, §2.3.
  4. ^ Walls 2016, p. 48, §2.4.
  5. ^ Deinum & Cosmina 2021, pp. 21–22, §2 Spring Framework Fundamentals.
  6. ^ a b Walls 2016, p. 7, §1.1.3.
  7. ^ a b Walls 2016, p. x, §Preface.
  8. ^ Walls 2016, pp. 4–5, §1.1.2.
  9. ^ a b Walls 2016, pp. 124–139, §7.
  10. ^ Walls 2016, pp. 49–69, §3.1-§3.2.3.
  11. ^ a b c d e Deinum & Cosmina 2021, pp. 52–54, §2 Spring Framework Fundamentals - Spring Boot.

References