Module graph

The result of these individual Java modules depending on one another is that we can now draw a complete graph of dependencies with the modules as nodes and the relationships between nodes as module dependencies. This kind of picture is called a module graph and is your new best friend to help you track and manage module dependencies in your Java 9 modular applications. We looked at a simple module graph of the address book application in the previous chapter. Here's a simple module graph that specifies the dependencies between a handful of Java platform modules:

A line drawn from module A to module B indicates that module A

Get Modular Programming in Java 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.