Spring Boot
Spring Boot eliminates most Spring Framework boilerplate by providing sensible defaults through auto-configuration. It reads your classpath, detects what you have, and configures beans automatically via
@Conditionalrules. Understanding auto-configuration — not just using it — is what separates developers who can debug Spring Boot from those who can only use it.
What You'll Find Here
Notes are being added. Planned topics:
| Topic | Description |
|---|---|
| Auto-Configuration | @SpringBootApplication, @EnableAutoConfiguration, @ConditionalOn* conditions. |
| Application Properties | application.yml, profiles, @ConfigurationProperties, @Value. |
| Spring Boot Starters | What's in a starter; common starters (web, data-jpa, security, test, actuator). |
| Actuator | Built-in endpoints (/health, /metrics); custom health indicators; securing endpoints. |
| Spring Boot Testing | @SpringBootTest, test slices (@WebMvcTest, @DataJpaTest), @MockBean. |
Learning Path
- Auto-Configuration — understanding
@ConditionalOnClassand@ConditionalOnMissingBeandemystifies 90% of Boot magic. - Application Properties —
@ConfigurationPropertiesreplaces scattered@Valuefor structured config; learn both. - Starters — know what
spring-boot-starter-webwires up (Tomcat, Jackson, Spring MVC). - Actuator — essential for production; understand which endpoints to expose and how to secure them.
- Testing —
@WebMvcTestand@DataJpaTestslices are faster than@SpringBootTest; know when to use each.
Related Domains
- Spring Framework — Spring Boot runs on top of Spring Framework; understand the foundation first.
- Web & REST — Spring MVC and WebFlux are the web layer wired by
spring-boot-starter-web. - Testing — Spring Boot testing slices and Testcontainers integration are covered there.