Skip to main content

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.

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.

Set Up RMI and Hessian Remoting in Spring Boot 2

Learn how to configure Java RMI and Hessian remoting in Spring Boot 2 with RmiServiceExporter, HessianServiceExporter, and their proxy factory beans. Includes server and client configuration, shared interface setup, and a comparison table.

8086 Assembly Program to Implement a Simple Calculator

A fully working 8086 assembly language calculator that performs addition, subtraction, multiplication, and division on 16-bit numbers. Includes annotated source code, algorithm walkthrough, sample output, and a common-mistakes table.