Your Keycloak roles aren't working in Spring Security. Here's the actual reason.
If you've wired up a Spring Boot resource server behind Keycloak and your...
Tag archive
If you've wired up a Spring Boot resource server behind Keycloak and your...

Every developer who has worked with LLMs has been there. You ask the model for JSON. You describe the...

Introduction I'm currently in the fourth week of my #100DaysOfCode challenge, and this...
Reactive code reads like a list of operators but behaves like a stream over time — which is exactly...
The N+1 query problem is the bug that doesn't look like a bug. With 5 rows in dev it's instant; in...
A circuit breaker is easy to describe — "it stops calling a failing service" — and surprisingly hard...

If you've just started learning Java, you've probably heard something like this: "Primitive...

this.method() inside a Spring bean bypasses the AOP proxy, so @Async, @Transactional, and @Cacheable silently do nothing. Two fixes, ranked by how much you actually want to use them.

A retry aspect and a @Transactional aspect on the same method, no @Order declared. Get the nesting backwards and every retry runs inside a rollback-only transaction that was already dead.

A prototype-scoped bean injected into a singleton is created exactly once. Three fixes, ranked worst to best, from a manual ApplicationContext lookup to a clean ObjectProvider.
@Cacheable is one annotation with a lot of invisible behaviour: when exactly does it skip your...

Introduction A few weeks ago, I started the #100DaysOfCode challenge, and I'm beginning to...