Java

Java from the JVM up: language fundamentals, concurrency, memory and performance — targeting Java 21 LTS.

This section teaches Java progressively, from how source code becomes bytecode to the Java Memory Model and virtual threads. All examples target Java 21, the LTS release used throughout this handbook. Features finalized after Java 21 are labelled with the release that finalized them.

The Java articles are being written in batches, and the two subsections list what is planned. Meanwhile, Dependency Injection in Java and the pattern articles use plain, modern Java throughout.

Topics in this section