JUnit 5: Writing Your First Tests
Executive Summary: A JUnit 5 test is a method annotated @Test that passes when its assertions hold. I…
Category
This Java programming series goes from first classes to production Spring Boot apps. It has more than seventy posts, so it works as a full course.
Early posts cover the language and collections. Later, JDBC fundamentals and JPA and Hibernate add data access. Finally, testing Spring Boot apps ties it all together.
74 articles
Executive Summary: A JUnit 5 test is a method annotated @Test that passes when its assertions hold. I…
Java latency playbook: allocation and I/O techniques, pooling, async-profiler and JMH guidance, with before/after discipline.
Executive Summary: Java performance tuning works best as a loop: reproduce under steady state, set a baseline, profile,…
Executive Summary: Java garbage collection reclaims objects no GC root can reach and organizes the heap by age…
Executive Summary: When java Main runs, class loaders load your code, the JVM stores data in distinct memory…
Constructor injection, circular dependencies, and advanced Spring Boot DI scenarios with concrete code patterns.
Executive Summary: This practice project builds a concurrent link checker in Java two ways: a fixed thread pool…
Executive Summary: Structured concurrency ties subtasks to the scope that started them, so failures and cancellations do not…
Executive Summary: Virtual threads let blocking Java code scale like async code, because a blocked virtual thread frees…
Executive Summary: CompletableFuture builds async work as a pipeline of stages you can transform, chain, and combine. I…
Executive Summary: HashMap breaks under concurrent use, so Java provides concurrent collections built for it. I explain ConcurrentHashMap…
Executive Summary: Java offers several locking tools, and each solves a different problem. Here I cover synchronized and…
Executive Summary: ExecutorService runs tasks on a managed thread pool instead of raw threads. I cover fixed and…
Executive Summary: A Java thread runs a Runnable once you call start, and it moves through a defined…