Modern Java in Action
summary
A small GitHub crawler gets built that fetches pages, stops at external links, and prints counts; domain objects use records and a sealed interface hierarchy so pages are either External, GitHub (PR/issue) or Error. Networking uses the JDK HTTP client and parallelism uses virtual threads with structure task scope to fork per-link tasks and join results; sequence collections simplify list manipulation and a thread-dump shows parent/owner IDs. The demo mostly runs, with one live hiccup.
AI-written summary · about
chapters (10)
- 0:00Modern Java features
- 3:13GitHub crawler setup
- 8:07Records and sealed interfaces
- 13:22Mutable types for links
- 17:57HTTP client for requests
- 21:52Parallel fetching with virtual threads
- 26:12Link resolution and updates
- 31:27Debugging with structured concurrency
- 35:40Java 23 features overview
- 42:45Summary and resources
related talks
52mModern Java in Action
54mModern Java in Action
50mJava Libraries You Can’t Afford to Miss
56mJava libraries you can't afford to miss (Student Day)
01h 03mModern Java 21+: The Next-Level Upgrade
43mLearning modern Java the playful way
48mJava's Hidden Gems: Tools and Libraries
20mJava's Hidden Gems: Tools and Libraries
