Real World Java 9
summary
A Java 8 FX demo app compiles on Java 9 after fixes: remove underscore identifiers, replace sun.misc Base64 with java.util.Base64, and add module-info.java files; modularizing takes about one to one and a half days for a small multimodule app and forces a cleaner dependency design. The Flow/reactive API lands in java.util.concurrent.Flow but libraries use reactive‑streams so code uses adapters between Flow and reactive‑streams; RxJava and Reactor run but require controlling concurrency (flatMap threads) and using zip with an interval tick for 100ms pacing. Gradle multimodule support is broken right now, so IDE-based builds work but CI/build tooling needs fixes.
AI-written summary · about
chapters (21)
- 0:00Introduction and speaker background
- 1:49Why Java 9 matters now
- 2:52Java 9's big features
- 6:02Case study application overview
- 8:36Migrating to Java 9 basics
- 12:44Jigsaw module system in action
- 17:37Creating module info files
- 23:18Jigsaw challenges and IDE support
- 25:04Reactive Streams API introduction
- 32:41Reactive API in services
- 37:40Reactive vs Java 8 streams
- 41:39Other Java 9 features overview
- 42:24Convenience factory methods
- 46:14Private methods in interfaces
- 47:19New Stream API methods
- 48:44Stack walking API
- 50:15Multi-release JAR files
- 51:19Process API updates
- 52:03Other Java 9 improvements
- 53:07Java 9 adoption advice
- 54:32Conclusion and resources
