Effective Java SE 16 APIs
summary
Covers concrete JDK 9–17 changes with runnable demos and migration advice: jlink produces ~16MB custom runtime images and modularity hides internal APIs; single-file execution works as java Hello.java with in-memory compilation (java Hello.java runs without explicit compilation); built-in java.net.http replaces third-party clients and supports HTTP/2 and WebSocket; language additions include switch expressions, text blocks, records and sealed classes; container-awareness fixes Docker memory reporting and G1 GC shows ~60% faster throughput; several legacy Java EE modules and Nashorn are removed.
AI-written summary · about
chapters (15)
- 0:00Intro
- 3:08JAVA HISTORY
- 4:41BIG CHANGE (MODULARITY)
- 7:50JIGSAW PROJECT GOALS
- 20:12Java Shell REPL tool: jshell - Java y
- 23:16NEW var TYPE - JAVA 10
- 30:15WEBSOCKET CLIENT MODULZ
- 30:57OLD SWITCH STATEMENT
- 32:01new Switch statement - Java 12
- 33:30Yield and switch expression - Java
- 36:05Pattern matching for instanceof Previ
- 40:03Sealed Classes (Preview) - Java 15
- 42:25String CLASS NEW ENHANCEMENTS
- 49:03NEW GARBAGE COLLECTORJ
- 52:55FLIGHT RECORDER
related talks
59mEffective Java SE 18 APIs/Lang features, makes your life easier.
59mEffective Java SE 12 APIs/Lang features, makes your life easier
54mEffective JavaSE9 to 15APIs/Lang features, makes your life easier.
50mKeeping up with Java: Look at All These New Features!
57mAfter Eight Sweet New Features in Java
55mEffective Java SE 11-21 APIs/Lang Features Makes Your Life Easier.
01h 05mJava 11 to 17 - Exciting New Features
51mLife Beyond Java 8
