© Kishori Sharan 2017

Kishori Sharan, Java 9 Revealed, 10.1007/978-1-4842-2592-9_10

10. The Module API

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • What the Module API is

  • How to represent a module and a module descriptor in a program

  • How to read a module descriptor in a program

  • How to represent a module’s version

  • How to read a module’s properties using the Module and ModuleDescriptor classes

  • How to update a module’s definition at runtime using the Module class

  • How to create annotations that can be used on modules and how to read annotations used on modules

  • What module layers and configurations are

  • How to create custom module layers and load modules into them

What Is the Module API?

The Module API consists of classes and interfaces ...

Get Java 9 Revealed: For Early Adoption and Migration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.