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
Java is a statically typed, object-oriented language that compiles to bytecode and runs on the Java Virtual Machine, so the same build runs on any platform with a JVM. Its mature ecosystem includes the Collections framework, JDBC, JPA with Hibernate for data access and Spring Boot for web services. Java remains a mainstay for enterprise backends and large data systems, with a new long-term support release every two years.
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…