O'Reilly logo

Java: A Beginner's Tutorial by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 30

Modularity

The Java module system is the greatest feature added in Java 9. A module groups related packages and resources and is described by a descriptor. The descriptor specifies the module’s name, lists its dependencies, and which of its packages are available to the external user.

This chapter discusses the Java module system and explains how to create Java modules, customize your own JRE and create a native deployer for Windows.

Overview

The Java module system traces its origin back to Project Jigsaw, the umbrella project for several JDK Enhancement Proposals (JEPs) to introduce modularity in Java. The project was complex and its scope was broad that it missed two JDK releases (JDK 7 and JDK 8) and was only included ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required