
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.
Tag
15 posts

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

Build, configure, test and package a Spring Boot 4 service, then see what separates a demo from a service you can run in production.

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

Build a clean Spring MVC REST API: records at the edge, validation, one error format, pagination, caching headers, security, testing and what to avoid.

Map entities, control fetching and remove the N plus 1 problem in Hibernate 7, with the settings and habits that keep JPA predictable.

Map what you know from Spring Boot to Quarkus 3, from CDI and RESTEasy to dev mode and native images, and see where the models really differ.

A working reference to JUnit 5 and the JUnit 6 line: lifecycle, assertions, parameterized tests, extensions and the habits that keep suites fast.

Decide what to unit test, what to run against real infrastructure and what to mock, with a layered plan that keeps a Spring Boot suite fast.

Build a Vaadin web UI in Java: views, layouts, Binder forms, lazy Grids, push updates, security, testing and the production build in one worked app.

Understand the Faces lifecycle, scopes, expression language and PrimeFaces components well enough to maintain and extend an existing application.

A complete guide to the Hibernate second level cache: JCache setup, entity, collection and query caches, strategies, invalidation, clustering and measuring.

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