
Fix Transactional Not Working on Self Called Methods
Find out why @Transactional is ignored on a self call, a private method or a swallowed exception, and fix it by moving the call across a bean boundary.
Everything you need to level up your coding skills.

Find out why @Transactional is ignored on a self call, a private method or a swallowed exception, and fix it by moving the call across a bean boundary.

Handle slow processing in Kafka consumers: tune max.poll.records and max.poll.interval.ms, pause and resume partitions and bound the work queue.

Compare Play Framework and Spring Boot for reactive APIs: programming model, async support, ecosystem, tooling, hot reload and when each is the better choice.

Use the Spring Boot conditions evaluation report and the Actuator conditions endpoint to find out why an auto configuration did or did not apply.

Fix a 401 Unauthorized from Spring Security by checking credentials, the Authorization header format, token validation settings and filter order.

Fix Read timed out errors between Spring services by setting connect and read timeouts on RestClient and Feign, sizing pools and finding the slow side.

Compare Micronaut and Spring Boot for new microservices on startup, memory, native images, ecosystem, learning curve and team fit, with a clear verdict.

Why Hibernate throws LazyInitializationException outside a transaction, how to confirm which cause you have and the fixes in order of preference.

Write a Spring Boot starter in two modules: an auto configuration with properties and conditions, and a thin starter that pulls it in with its dependencies.

Organise Java packages by feature instead of by layer: a layout for Spring Boot, package private visibility, shared code rules and a path to modules.

Run JSF pages inside Spring Boot: the JoinFaces starter, Mojarra setup, Spring beans in EL, scopes, Spring Security login and packaging as a jar.

Disable spring.jpa.open-in-view safely: find lazy loads outside a transaction, fix them with fetch joins and DTO projections, and prove it with tests.
We send one email when a new post is published. No spam.