Articles
Building AI Agents on the JVM
A pragmatic walk-through of building a tool-calling AI agent on the JVM with Koog: wiring tools, keeping context, and adding guardrails so it doesn't hallucinate business decisions.
Getting Free Outbox with Spring Modulith
Use Spring Modulith’s event publication registry as an outbox for internal events in a modular monolith.
Crafting Gorgeous PDFs using Chromium and Playwright
Generate modern, high‑quality PDFs in Spring Boot using Chromium and Playwright, with setup, performance tips, and Docker notes.
Spring Boot and the Holy GraalVM
A pragmatic look at Spring Boot 3 native images: compile time, size, startup, memory, and when AOT beats JIT (and when it doesn’t).
Managing Spring Boot properties after version 2.4
How Spring Boot 2.4+ resolves config and how to structure multi‑module properties with spring.config.import, profiles, and tests.
Cost of layered architecture
Benchmarking the runtime and memory overhead of classic layered architecture on the JVM, with JIT warm‑up notes and charts.
How safe is BigDecimal, really?
BigDecimal is precise—but its double‑argument constructor isn’t. Learn safe initialization patterns and how to design Money value objects.
Argument for the off-the-shelf components
When to buy vs build: use off-the-shelf tools in supporting domains, keep core domain in-house. Trade-offs, examples, and a simple decision tip.
Why using Kotlin data classes as Entities is a bad idea
Data classes shine for DTOs, not JPA entities. Here’s why: hashCode surprises, lazy loading via toString, and safer alternatives.
What I've learned from picking another language
A PHP dev’s retrospective on learning Java: thinking in another language, leaving the comfort zone, and practical tips for switching stacks.