Spring Boot
A project built on the Spring Framework that starts an application from one main class and auto-configures infrastructure such as a web server from the libraries on the class path.
In more detail
Spring Boot reads the class path, properties and profiles to decide which beans to create, and backs away when you define your own. It packages the application as a single executable JAR. Spring Boot 3 requires Java 17 or newer; the course targets Java 21.
Related terms
- Spring Framework — The widely used Java application framework whose container creates and wires your objects and which provides web, data and testing support.
- auto-configuration — Spring Boot's mechanism for creating infrastructure beans automatically when their libraries are on the class path and no bean of your own replaces them.
- @SpringBootApplication — The annotation on a Spring Boot main class that switches on component scanning, auto-configuration and configuration declarations in one go.
- Spring profile — A named set of configuration, such as local, test or production, that Spring activates to change properties and beans for one environment.
- JAR file — A zip archive holding compiled classes and resources, plus a manifest describing them, which the JVM can load directly.
Taught in
- Release Trains And Long Term Support — Modern Java: Virtual Threads & High-Throughput Services
- Designing Testable Code — Modern Java: Virtual Threads & High-Throughput Services
- Dependency Injection And The IoC Container — Modern Java: Virtual Threads & High-Throughput Services
- Spring Boot Auto Configuration — Modern Java: Virtual Threads & High-Throughput Services
- Configuration And Profiles — Modern Java: Virtual Threads & High-Throughput Services
- Packaging Into A Container — Modern Java: Virtual Threads & High-Throughput Services
- Controllers And Routing — Modern Java: Virtual Threads & High-Throughput Services