Spring Boot

Spring Boot is an open-source Java framework used for programming standalone, production-grade Spring-based applications with a bundle of libraries that make project startup and management easier.

Uses your system voice; voice and rate in settings.

≈ 7 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Spring Boot is an open-source Java framework used for programming standalone, production-grade Spring-based applications with a bundle of libraries that make project startup and management easier.[3] Spring Boot is a convention-over-configuration extension for the Spring Java platform intended to help minimize configuration concerns while creating Spring-based applications.[4][5] The application can still be adjusted for specific needs, but the initial Spring Boot project provides a preconfigured "opinionated view" of the best configuration to use with the Spring platform and selected third-party libraries.[6][7]

Spring Boot can be used to build microservices, web applications, and console applications.[3][8]

  • 3 Configuration properties
  • 4 Autoconfiguration
  • 5 Actuator
  • 6 Integration with Spring Framework Modules
  • 7 Application servers
  • 8 References
  • 9 External links
  • Features

    edit edit source

    Bootstrapping DispatcherServlet

    edit edit source

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

    SpringBootServletInitializer

    edit edit source

    Spring Boot has a class SpringBootServletInitializer, which is a specialization of the WebApplicationInitializer.[16] 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.[16]

    Configuration properties

    edit edit source

    The configuration properties for the Spring Boot application can be specified in the application.properties or application.yml file.[16] Examples of properties that can be included in this file include the server.port and spring.application.name properties.[16]

    Autoconfiguration

    edit edit source

    @SpringBootApplication

    edit edit source

    Spring Boot has an annotation, @SpringBootApplication, which allows the Spring Boot application to autoconfigure third-party libraries and detected features found on the classpath.[16] 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.[16]

    The @SpringBootApplication annotation combines three Spring-specific annotations: @SpringBootConfiguration, @EnableAutoConfiguration and @ComponentScan.[17]

    @SpringBootConfiguration

    edit edit source

    The @SpringBootConfiguration annotation is a specialization of the Spring-specific @Configuration annotation.[17] The class with the @SpringBootConfiguration is marked as the configuration class for the Spring Boot application.[17]

    @EnableAutoConfiguration

    edit edit source

    The @EnableAutoConfiguration annotation is Spring-specific annotation that enables the Spring Boot automatic configuration. [17]

    Actuator

    edit edit source

    The Spring Boot Actuator allows for monitoring and management capabilities for the Spring Boot Application.[18] A major advantage of using the Spring Boot Actuator is that it implements a number of production-ready features without requiring the developer to construct their own implementations.[18]

    If Maven is used as the build tool, then the spring-boot-starter-actuator dependency can be specified in the pom.xml configuration file.[19]

    Integration with Spring Framework Modules

    edit edit source

    Spring Boot has a number of existing Spring Framework Modules.

    Spring Security

    edit edit source

    Spring Boot has integration with the Spring Security Module. The simplest way for integrating Spring Boot with Spring Security is to declare the starter dependency in the build configuration file.[20]

    If Maven is used as the build tool, then the dependency with artifact ID spring-boot-starter-security dependency can be specified in the pom.xml configuration file.[20]

    Application servers

    edit edit source

    By default, Spring boot provides embedded web servers (such as Tomcat) out-of-the-box.[21] However, Spring Boot can also be deployed as a WAR file on a standalone WildFly application server.[22]

    If Maven is used as the build tool, there is a wildfly-maven-plugin Maven plugin that allows for automatic deployment of the generated WAR file.[22]

    References

    edit edit source
    1. ^ "Spring Boot v1.0.0.RELEASE". github.com. Wikipedia revision 1335221448, retrieved 2026-11-20
    2. ^ "Release 4.2.0". 19 November 2026. Retrieved 20 November 2026. Wikipedia revision 1335221448, retrieved 2026-11-20
    3. ^ a b c "Spring Boot Tutorial - Learn Spring Boot". GeeksforGeeks. 2023-05-08. Retrieved 2024-04-05. Wikipedia revision 1335221448, retrieved 2026-11-20
    4. ^ a b Walls 2016, p. vii, §foreword. Wikipedia revision 1335221448, retrieved 2026-11-20
    5. ^ Walls 2016, pp. 37–48, §2.3. Wikipedia revision 1335221448, retrieved 2026-11-20
    6. ^ Walls 2016, p. 48, §2.4. Wikipedia revision 1335221448, retrieved 2026-11-20
    7. ^ Deinum & Cosmina 2021, pp. 21–22, §2 Spring Framework Fundamentals. Wikipedia revision 1335221448, retrieved 2026-11-20
    8. ^ "Spring Boot Console Application". Baeldung. 2024-01-08. Retrieved 2024-09-20. Wikipedia revision 1335221448, retrieved 2026-11-20
    9. ^ a b Walls 2016, p. 7, §1.1.3. Wikipedia revision 1335221448, retrieved 2026-11-20
    10. ^ a b Walls 2016, p. x, §Preface. Wikipedia revision 1335221448, retrieved 2026-11-20
    11. ^ Musib 2022, p. 9, §1.2.1 Maven vs Gradle. Wikipedia revision 1335221448, retrieved 2026-11-20
    12. ^ Walls 2016, pp. 4–5, §1.1.2. Wikipedia revision 1335221448, retrieved 2026-11-20
    13. ^ a b Walls 2016, pp. 124–139, §7. Wikipedia revision 1335221448, retrieved 2026-11-20
    14. ^ Walls 2016, pp. 49–69, §3.1-§3.2.3. Wikipedia revision 1335221448, retrieved 2026-11-20
    15. ^ "Language Support". Spring Framework. Wikipedia revision 1335221448, retrieved 2026-11-20
    16. ^ a b c d e f g Deinum & Cosmina 2021, pp. 52–54, §2 Spring Framework Fundamentals - Spring Boot. Wikipedia revision 1335221448, retrieved 2026-11-20
    17. ^ a b c d Walls 2019, pp. 11–17, §1.2.2 Examining the Spring project structure. Wikipedia revision 1335221448, retrieved 2026-11-20
    18. ^ a b Musib 2022, pp. 144–145, §4.4 Spring Boot Actuator. Wikipedia revision 1335221448, retrieved 2026-11-20
    19. ^ Musib 2022, pp. 145–146, §4.4.1 Configuring Spring Boot Actuator in a Spring Boot application. Wikipedia revision 1335221448, retrieved 2026-11-20
    20. ^ a b Musib 2022, pp. 187–192, §5.2.1 Configuring Spring Boot Actuator in a Spring Boot application. Wikipedia revision 1335221448, retrieved 2026-11-20
    21. ^ Musib 2022, pp. 7–8, §1.1.4 Spring Boot components. Wikipedia revision 1335221448, retrieved 2026-11-20
    22. ^ a b Musib 2022, pp. 406–417, §9.2 Deploying Spring Boot application as WAR in the wildfly application server. Wikipedia revision 1335221448, retrieved 2026-11-20
    edit edit source The Wikibook Java Programming has a page on the topic of: Spring Boot Java (software platform)Platforms Technologies History Platform
    languages
    Community Computer programming portal • Category

    Text derived from https://en.wikipedia.org/w/index.php?oldid=1335221448 under CC BY-SA 4.0; modifications have been made.

    Words in each sectionAutoconfigurationAutoconfigurationAutoconfiguration: 133 words133FeaturesFeaturesFeatures: 105 words105Integration with Spring…Integration with Spring Framework ModulesIntegration with Spring Framework Modules: 79 words79Bootstrapping Dispatche…Bootstrapping DispatcherServletBootstrapping DispatcherServlet: 75 words75ActuatorActuatorActuator: 75 words75Application serversApplication serversApplication servers: 65 words65Configuration propertiesConfiguration propertiesConfiguration properties: 47 words47
    Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

    Provenance

    snapshot enwiki-001335221448 · captured 2026-01-28 · ledger · version history

    Cite this page as: encyclopegia.org, “Spring Boot”, snapshot enwiki-001335221448. https://encyclopegia.org/a/spring-boot