Modern Java in Action
summary
A GitHub crawler is built end-to-end using JDK 23 preview features: domain modeled with records and sealed interfaces, pages parsed and resolved, HTTP requests fetched with the HTTP client and fired in parallel using virtual threads and structured concurrency (task scopes) with a failure-shutdown strategy. Results become an index HTML served by the simple file server and also inspected via a thread dump for parent/child visibility. The demo runs locally, compiles in-memory, and works interactively.
AI-written summary · about
chapters (15)
- 0:00Welcome and introduction
- 3:23Talk overview and setup
- 7:14Domain model with records
- 12:09Sealed interfaces and subtypes
- 16:46Operations outside domain model
- 25:10Local records and constructors
- 28:00Java modules setup
- 29:22HTTP client for GitHub
- 33:18Virtual threads and concurrency
- 37:48Debugging with thread dumps
- 42:02Simple file server demo
- 44:50Programmatic web server launch
- 45:53Command-line Java execution
- 48:20Recap and key takeaways
- 52:34Q&A and closing








