Spring Boot
How Spring Boot works: auto-configuration and conditions, externalized configuration and @ConfigurationProperties, and production endpoints with Actuator.
Spring Boot is Spring Framework plus opinionated, conditional defaults: starters, auto-configuration, externalized configuration, an embedded server and production endpoints. These articles explain the mechanisms, so the “magic” becomes predictable.
Articles
- Auto-configuration & conditionsHow Spring Boot auto-configuration works: starters, @EnableAutoConfiguration, the AutoConfiguration.imports file, ordering, the full family of @ConditionalOn* annotations, back-off with @ConditionalOnMissingBean, the conditions evaluation report, Spring Boot 4 modular auto-configuration, and writing your own starter.
- Externalized configurationRunning one build in every environment: property sources and their precedence, application.yml and profile-specific files, environment variables and relaxed binding, config import (config trees, Kubernetes ConfigMaps and Secrets, Vault), type-safe @ConfigurationProperties with records and validation, @Value vs @ConfigurationProperties, secrets handling and refreshing configuration.
- Actuator & custom endpointsProduction endpoints with Spring Boot Actuator: health (groups, liveness and readiness probes for Kubernetes), metrics and Prometheus, info, loggers, env, configprops, threaddump, heapdump, SBOM; exposing and securing endpoints on a separate port; custom HealthIndicators, InfoContributors and @Endpoint operations.