© Alexandru Jecan  2017

Alexandru Jecan, Java 9 Modularity Revealed, https://doi.org/10.1007/978-1-4842-2713-8_2

2. Project Jigsaw

Alexandru Jecan

(1)Munich, Germany

This chapter introduces Project Jigsaw. It describes what Project Jigsaw is all about, shows some problems encountered in the past in Java, and discusses the Java Enhancement Proposals that constitute Project Jigsaw. It explains the goals of Project Jigsaw so that we can get a grasp of the reasons that made the JCP team decide to introduce a new module system for the Java platform. It also goes over concepts like strong encapsulation and reliable configuration.

Weaknesses in Java Prior to JDK 9

Figure 2-1 shows the JDK 7 module graph, from the official OpenJDK website at http://openjdk.java.net/projects/jigsaw/doc/jdk-modularization.html ...

Get Java 9 Modularity Revealed: Project Jigsaw and Scalable Java Applications 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.