Life Beyond Java 8
summary
Surveys show 75% still on Java 8 and about 32% on Java 11, so upgrade choices are either LTS Java 11 or the feature track (Java 14/15) with six‑month releases. Practical gains include use jlink to create smaller runtime images, built‑in HTTP client, collection factory methods (List.of/Set.of/Map.of), var, records, switch expressions and text blocks, plus new GCs (G1, ZGC, Shenandoah). Migration steps: update dependencies, fix compiler/deprecation warnings, and update build tools (Maven 3.6.3 / Gradle 6.5).
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:46Why upgrade from Java 8
- 7:26Java release cadence and LTS
- 13:51Var and readability
- 18:52Convenience factory methods
- 22:29Unmodifiable collections
- 25:39Optional improvements
- 28:50HTTP client and multi-release JARs
- 30:35Java module system
- 33:04Switch expressions
- 35:58Text blocks
- 38:46Records
- 42:14Pattern matching
- 43:59Future of Java
- 47:47Business benefits of upgrade
- 53:27Migration tips
- 58:20Q&A
