
Fix Jackson Infinite Recursion With Bidirectional Entities
Stop the StackOverflowError that Jackson raises when entities reference each other, by returning DTOs, or by breaking the cycle with Jackson annotations.
Everything you need to level up your coding skills.

Stop the StackOverflowError that Jackson raises when entities reference each other, by returning DTOs, or by breaking the cycle with Jackson annotations.

Create a Spring Boot project with Maven using Spring Initializr, curl or an IDE, and read the parent POM, starters and wrapper it generates.

Fix NoSuchBeanDefinitionException by telling apart a missing type, a missing name and a bean hidden by scanning, profiles or a child context.

Clean architecture's four rings applied to a Java service, what it buys in testing and framework independence, and the point where the ceremony costs more.

Spring Security 7 migration notes: removal of and() chaining, deprecated API removal, request matcher changes and an upgrade path from 6.5.

How synchronized uses monitors, what lock contention looks like in a thread dump, how to shrink critical sections and what changed for virtual threads.

Learn Jakarta CDI: bean discovery, scopes, injection, qualifiers, producers, observers and events, interceptors and how CDI compares with Spring.

Set up Mockito with JUnit 5 using MockitoExtension, Mock, InjectMocks and Captor, choose strictness, and avoid manual MockitoAnnotations.openMocks calls.

Understand why the JVM throws GC overhead limit exceeded, capture a heap dump at the failure and decide between a bigger heap and fixing a memory leak.

Use Hazelcast or Redis for shared state in Java services: sessions, caches, locks and counters, with Spring configuration, trade-offs and failure handling.

Produce and consume Kafka messages in Quarkus with SmallRye Reactive Messaging: channels, @Incoming and @Outgoing, acknowledgement and Dev Services.

Use PrimeFaces DataTable lazy loading with LazyDataModel: paging, sorting and filtering pushed to the database through a repository query.
We send one email when a new post is published. No spam.