Articles
Architecture articles
Free, practical articles on Java, Spring, SQL and AI for backend developers.
-
AI code editing: show a diff, let the user apply it
Let an LLM edit code safely: choose an edit format, validate the proposal, show a diff, apply it on click and reject stale changes. With a tested example.
-
GDPR data export implementation: stop missing tables
A GDPR data export goes stale with every new user table. Find the tables in PostgreSQL and add a JUnit test that fails when one has no export decision.
-
Spring Boot rate limit by IP behind Cloudflare
Rate limit by IP in Spring Boot behind Cloudflare: read CF-Connecting-IP only from trusted proxies, key IPv6 on a /64 and answer 429 with Retry-After.
-
Modular monolith vs microservices: start with modules
Why a modular monolith is the safer default than microservices, and how to enforce module boundaries in Spring Boot with Spring Modulith and ArchUnit.