A Tour of the Modern Java Platform
summary
Shows concrete modern Java moves: records and sealed types for immutable data, pattern matching with compiler-enforced exhaustiveness and improved NPE diagnostics; testcontainers with PostgreSQL to spin real databases for tests (no H2), R2DBC + Kotlin coroutines (suspend/Flow) for end-to-end non‑blocking I/O; Spring Boot buildpacks to produce container images and a GraalVM native image that cuts startup from ~3s to 0.063s and image size from ~276MB to ~47MB, at the cost of ~6 minute native build time best done in CI.
AI-written summary · about
chapters (12)
- 0:00Introduction to modern Java
- 2:34Java records and text blocks
- 8:16Sealed types and pattern matching
- 15:43Null pointer exception improvements
- 16:46Java 11+ language features
- 17:47JShell and jpackage tools
- 18:50Test containers for testing
- 31:53Kotlin nullability and data classes
- 35:41Non-blocking async with coroutines
- 43:28Containerization with build packs
- 47:19GraalVM native image benefits
- 50:49Q&A
related talks
51mProductivity, Sustainability, and Fun in modern Java
43mLearning modern Java the playful way
45mJava Innovations - from Developer-driven features to (...)
50mThe Cool Thing about Cool Things in Java 16 & 17 LTS
52mSailing Modern Java
39mJava's Hidden Gems: Tools and Libraries
01h 03mDiscover Modern Java
43mA Glance At The Java Performance Toolbox
