Chapter 14 Java Modules
Introduction to Java Modules
- What is a Module?
- Need for Modules
- Benefits of Using Modules
Creating Modules in Java
- Module Descriptor
- Writing a Module Descriptor (
module-info.java)
Declaring Modules
exports Statement
requires Statement
uses Statement
provides ... with Statement
Module Resolution and Accessibility
- Module Resolution Process
- Module Accessibility
Module Path vs Classpath
- Understanding Classpath
- Understanding Module Path
- Difference Between Module Path and Classpath
Working with Services in Java Modules
- What is a Service?
- Defining, Providing and Using Services
Migrating to Modules
- Migrating Big Applications
- Bottom-Up Migration
- Top-Down Migration
JLink: The Java Linker
- Introduction to JLink
- Creating Custom Runtime Images