
How to Generate Test Reports and Coverage With JaCoCo
Add JaCoCo to a Maven project to measure line and branch coverage from JUnit, produce HTML and XML reports, and enforce a minimum in the build.
Everything you need to level up your coding skills.

Add JaCoCo to a Maven project to measure line and branch coverage from JUnit, produce HTML and XML reports, and enforce a minimum in the build.

Debug Java HTTP client timeouts: separate connect, read and pool wait, check DNS and TLS, set explicit limits and log what each phase did.

Integrate Struts 2 with Spring using the struts2-spring-plugin: let Spring create actions, inject services by name or type, and handle scopes and AOP.

Understand how sbt builds a Play Framework project: build.sbt, the Play plugin, key commands, dependencies, run and test tasks and multi project layouts.

Switch a Micronaut 4 application from Jackson databind to Micronaut Serialization: dependencies, the Serdeable annotation, differences, GraalVM and limits.

Expose Micrometer metrics from a Spring Boot app, scrape them with Prometheus, build Grafana panels for JVM and HTTP health and add custom business metrics.

Manage JDBC transactions by hand: turn off auto commit, commit and roll back, use savepoints, set isolation levels and keep the connection handling safe.

Read the helpful NullPointerException message the JVM prints, find which expression was null and remove the cause instead of adding null checks everywhere.

Return correct HTTP status codes from Spring MVC with ResponseStatus, ResponseEntity, ResponseStatusException and handlers, and know which fits.

Create a Spring Boot Gradle project with Initializr, read the generated build file with the Spring Boot plugin and dependency management plugin, and run it.

Read the nested messages of UnsatisfiedDependencyException to find the real problem behind a failed constructor, setter or field injection.

Controller, service and repository layers in Spring Boot: what they give a simple application, where they leak and what to change when the domain grows.
We send one email when a new post is published. No spam.