Overview
Explore the new features of Java 19 in this 38-minute video tutorial that demonstrates their practical application through the creation of a GitHub crawler. Dive into virtual threads, structured concurrency APIs, sealed types, and pattern matching in `switch` - all preview features in this release. Begin with an introduction to the crawler and a warm-up using records. Learn about virtual threads and their implementation with a blocking HTTP client. Discover structured concurrency using StructuredTaskScope, concurrent data structures, and records with collections. Gain insights into debugging techniques for structured concurrency. Examine Data-Oriented Programming (DOP) concepts, including type hierarchies, type pattern switches, and deconstruction patterns. Address common misconceptions about the use of `instanceof`. Access the complete source code on GitHub and explore related topics through linked videos on string templates, virtual threads, and more.
Syllabus
âž Highlights
âž Intro
âž Meet The Crawler And Warm Up With Records
âž Virtual Threads - Blocking HTTP Client?
âž Virtual Threads - "Interception by Project Amber!"
âž Structured Concurrency - StructuredTaskScope
âž Structured Concurrency - Concurrent Data Structures
âž Structured Concurrency - Records With Collections
âž Structured Concurrency - Debugging Glory
âž DOP - Type Hierarchies
âž DOP - Type Pattern Switches FTW
âž DOP - Deconstruction Patterns
âž DOP - Isn't `instanceof` Bad?
âž Outro
Taught by
Java