Skip to main content

Java 21 to Java 25 LTS: Every Feature You Actually Need to Know

Records, pattern-matching switch, virtual threads, sequenced collections, scoped values and structured concurrency from Java 21 to Java 25 LTS, each compiled and run on JDK 21, 25, 26 and 27: what is really final, when virtual threads stopped pinning, and what 26 and 27 mean for the road to Java 29.

Modern Java Testing: JUnit 6 + AssertJ + Mockito 5 + Testcontainers

A practical guide to the modern Java test stack — JUnit 6 as the runner, AssertJ for fluent assertions, Mockito 5 for mocking, and Testcontainers for real infrastructure. Includes runnable examples for each and AI prompts to generate and refactor tests.

Java Streams API Deep Dive + Collectors Cookbook

A practical cookbook for the Java Stream API and Collectors utility — filter/map/reduce essentials, groupingBy and partitioningBy patterns, performance gotchas, and AI prompts to refactor legacy loops into clean pipelines.