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 hands-on guide to upgrading a Java 21 codebase to Java 25 LTS — build file changes, dependency bumps, breaking changes, a prioritized checklist, and six AI prompts that automate the tedious parts.

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.