Skip to main content

Java

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.

Java 21 to Java 25 Upgrade Guide (with AI Prompts)

A step-by-step Java 21 to 25 upgrade guide: Maven and Gradle files, Lombok and Mockito versions, removed and warned APIs, a 12-item checklist and seven AI prompts. Every claim was run on JDK 21, 25, 26 and 27, and the old guide's mistakes are corrected.

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.

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.