April 2018
Intermediate to advanced
246 pages
6h 11m
English
When we are talking about modular systems, then immediately one question comes, how dependencies of modules will organize and what will be impact on final deployment?
The JLink tool is designed to provide optional phases between compile time and runtime, called link time, which links a set of modules and its transitive dependencies to create runtime images. JLink makes deployment simpler and also reduces the size of an application.
The invocation syntax of jLink is as follows:
jlink --module-path <modulepath> --add-modules <modules> --limit-modules <modules> --output <path>--module-path - jLink use module path for finding modules such as modular jars, JMOD files--add-modules - Mention module which needs to include in ...