Spring & backend
- spring-architecture
Give Controllers, Services and Repositories Clear Responsibilities
A deep dive into responsibility allocation using a warehouse dispatch scenario to separate HTTP translation, business orchestration, and persistence.
Read the article - spring-architecture
Why Value Collections and Associations Need Extra Tables
Deep dive into @ElementCollection, embeddables, and the structural difference between value types and entities in JPA.
Read the article - spring-architecture
Follow a JPA Entity from Java State to SQL
A deep dive into the Hibernate persistence lifecycle, entity states, and the mechanics of how Java objects become database rows.
Read the article - spring-architecture
Dependency Injection, Inversion of Control and Interface Contracts
A deep dive into component construction, constructor injection, and the reality of semantic coupling via interfaces.
Read the article - spring-architecture
Trace a Browser Request Through Spring Boot
A deep dive into the lifecycle of an HTTP request, from the browser fetch to Spring's DispatcherServlet and message conversion.
Read the article