Java 9 Modularity in Action
summary
Explains how Java 9 enforces explicit dependencies via module-info.java and requires/exports, shows a working EasyText example compiled and run on the module-path with services wired through ServiceLoader rather than hardcoded classes, demos creating a custom runtime image with JLink (JLink creates 21 MB image for the CLI case) and shows automatic modules for legacy jars, recommends jdeps for migration, and flags open risks: reflective access restrictions and no built‑in version resolution.
AI-written summary · about
chapters (8)
- 0:00Introduction and speaker background
- 1:59What is modularity and why it matters
- 10:47Java 9 module system goals and JDK modularization
- 21:21First module demo with EasyText
- 32:37Services mechanism for loose coupling
- 43:26Linking modules into custom runtime images
- 51:37Migration strategies for Java 9
- 59:17Summary and resources








