
Modern Java Guide to Records Sealed Types and Patterns
Write idiomatic Java 25 with records, sealed types, pattern matching, streams and virtual threads, and learn which old habits to drop first.
The language itself and the JDK that ships with it: collections, streams, records, text blocks and what changed in each release.

Write idiomatic Java 25 with records, sealed types, pattern matching, streams and virtual threads, and learn which old habits to drop first.

Follow a bean from definition to proxy to destruction, and learn why scopes, proxies and transactions behave the way they do inside the container.

A complete guide to Java reflection: inspect and invoke classes, proxies, method handles, modules, performance, native image limits and when not to use it.

Why List.of, Arrays.asList and Stream.toList reject changes with UnsupportedOperationException, and how to get a list you can modify.

Learn how to start threads, wait for them, share results with futures and move to executors and virtual threads, with the rules that keep code correct.

Follow Java code from source to bytecode, class loading, interpretation and JIT compilation, and see why the JVM is slow at first and fast later.

A short list of clean code rules for Java that survive contact with real projects: naming, small methods, immutability, exceptions and when to ignore a rule.

Connect to PostgreSQL with JDBC, run queries and updates with prepared statements, read results safely and manage transactions, in one runnable example.

Stop path traversal by resolving user-supplied names against a base directory, normalizing and checking the result, and avoiding user input in paths.

Use DTO projections with Hibernate and Java records: constructor expressions in JPQL, Spring Data interface and class projections, and when to skip entities.

Define a custom Java annotation with retention, target and parameters, read it with reflection, build a validator and see where processors fit.

See what generic type erasure removes at runtime, why new T and instanceof List of String fail, and the type token pattern that works around it.
We send one email when a new post is published. No spam.