
Become a Better Java Developer!
Modern Java: new versions & features, performance, and JVM insights – tutorials and deep dives, clearly explained and directly applicable.


Primitive Types in Patterns, instanceof, and switch (Java)
December 3, 2024Primitive type patterns bring primitive types into pattern matching. Learn how to use them with instanceof and switch starting in Java 23 + examples.
import module in Java: Module Import Declarations
December 2, 2024Since Java 25, “import module” imports entire modules instead of individual classes. In JShell + Compact Source Files, “java.base” is included by default.
Compressed Oops in Java: How 32-Bit References Save Memory
November 27, 2024Compressed Oops represent Java object references on 64-bit systems with just 32 instead of 64 bits, reducing memory usage. Here’s how it works.
Java Object Headers and Compressed Class Pointers
November 25, 2024How is a Java object header structured? You’ll learn about Mark Word, Class Word, Compressed Class Space, and Compressed Class Pointers in detail.
Java 23 Features (with Examples)
June 6, 2024All Java 23 features with examples: primitive type patterns, Markdown in JavaDoc, import modules, init fields in the constructor before super() + more!
Java main() Method – Syntax and Simplification Since Java 25
May 30, 2024The main() method is the entry point of every Java program. Learn how it’s structured – and how to write it far more concisely since Java 25.
Array Length in Java
April 14, 2024How to find the length of an array in Java? How do you set the length? How much memory does an array occupy and what is the maximum size?
How to Initialize Arrays in Java
April 9, 2024How to declare and initialize arrays in Java? How to copy and fill them? How to convert lists, sets and streams into arrays?
Hexagonal Architecture With Spring Boot [Tutorial]
December 27, 2023Hexagonal Architecture Tutorial, Part 5: We migrate the application from Quarkus to Spring Boot – without changing a line in the application core.
Java 22 Features (with Examples)
December 7, 2023All the new Java 22 features with examples: Unnamed Variables & Patterns, Stream Gatherers, Foreign Function & Memory API ... and more!Want Even More Knowledge?
My blog features many articles on Java, software architecture, and performance — from foundational concepts to advanced patterns.
If you want to go deeper, check out my trainings: hands-on, easy to understand, and directly applicable to your day-to-day project work. Instead of theory, I teach principles that help you write code that is better, more maintainable, and more performant in the long run.
Explore the Java Trainings