Spring
Spring Framework and Spring Boot, from inversion of control to production readiness.
This section explains Spring progressively: the container first, then web, persistence, security and production concerns. Version-specific behaviour refers to Spring Boot 4.1 (built on Spring Framework 7). Articles link to the official reference documentation for details that change between releases.
Topics in this section
- Spring CoreThe IoC container: dependency injection, beans, configuration, profiles, AOP and events.
- Spring BootHow Spring Boot works: auto-configuration and conditions, externalized configuration and @ConfigurationProperties, and production endpoints with Actuator.
- Spring WebSpring MVC and REST APIs: controllers, validation, errors, DTOs and HTTP semantics.
- Spring Data and PersistenceJPA, Hibernate, transactions and the persistence mistakes that reach production.
- Spring SecurityAuthentication, authorization, the filter chain, OAuth 2.0, JWT and common mistakes.
- Production Spring BootConfiguration, logging, health, metrics, tracing, testing and graceful shutdown.
- Patterns in SpringWhere Spring implements, resembles, or simply benefits from classic design patterns.