GeezerVison is showing dev.java — Modules - Dev.java
-
Introduction to Modules in Java
Understand the module system basics, how to create and build modules, and how to increase maintainability and encapsulation.
-
-
-
-
Qualified exports and opens
Use exports ... to ... and opens ... to ... to limit accessibility of exported or opened packages to specific modules.
-
Decoupling Modules with Services
Decouple users and providers of a service with Java's ServiceLoader API, which the module system makes a first-class concept with uses and provides directives in the module declaration.
-
-
-
Building Modules on the Command Line
Learn how to use the javac, jar, and java commands to compile, package, and launch your modular application by hand - good to know even though build tools do most of the heavy lifting.
-
Strong Encapsulation (of JDK Internals)
Strong encapsulation is a corner stone of the module system. It avoids (accidental) use of internal APIs, chiefly non-public types/members in java.* packages and much of sun.* and com.sun.*.
-
-