

Java 21 Features
(with Examples)
Sven WoltmannJune 8, 2023The new Java 21 features with examples: Virtual Threads, Sequenced Collections, Record Patterns, Pattern Matching for switch; new preview features: String Templates, Unnamed Patterns and Variables, Unnamed Classes and Instance Main Methods ... and more!


How to Change Java Versions in Windows
(updated for Java 25)
Sven WoltmannMarch 21, 2023In this article, I'll show you how to install several Java versions simultaneously in Windows and how to switch between them on the command line with short commands.


Java 20 Features
(with Examples)
Sven WoltmannMarch 21, 2023The new Java 20 features with examples: Scoped Values (Incubator), Record Patterns (Second Preview), Pattern Matching for switch (Fourth Preview), Foreign Function & Memory API (Second Preview), Virtual Threads (Second Preview), Structured Concurrency (Second Incubator)


Hexagonal Architecture – What Is It? Why Use It?
Sven WoltmannJanuary 18, 2023What is Hexagonal Architecture (Ports & Adapters) – Advantages over Layered Architecture – Hexagonal Architecture, Microservices and DDD


Scoped Values in Java – What They Are and How to Use Them
Sven WoltmannDecember 11, 2022What is a Scoped Value? How to use ScopedValue? How to inherit Scoped Values? What is the difference between ScopedValue and ThreadLocal?


Advent of Code 2022 – Object-oriented Solutions in Java
Sven WoltmannDecember 1, 2022Here you can find all solutions to Advent of Code 2022. All tasks are implemented in an object-oriented and test-driven way in Java.


Java 19 Features
(with Examples)
Sven WoltmannSeptember 20, 2022The new Java 19 features with examples: Virtual Threads (Preview), Record Patterns (Preview), Foreign Function & Memory API (Preview) + more.


Radix Sort – Algorithm, Source Code, Time Complexity
Sven WoltmannJuly 19, 2022How does Radix Sort work? How to implement Radix Sort in Java? What is the time and space complexity of Radix Sort?


Virtual Threads in Java – Deep Dive with Examples
Sven WoltmannJune 14, 2022Virtual threads in Java (Project Loom): What are virtual threads? Why do we need them? How do they work? How to use them?


Stack vs. Queue
Sven WoltmannJune 8, 2022What are the differences between the stack and queue data structures? How do the corresponding Java interfaces and classes differ?