concept module descriptor in category java

This is an excerpt from Manning's book The Java Module System.
Platform modules are packed into JMOD files, a new format created specifically for this purpose. But code outside the JDK can create modules just as well. In that case, they’re modular JARs: plain JARs that contain a new construct, the module descriptor, which defines the module’s name, dependencies, and exports. Finally, there are modules the module system creates on the fly from JARs that weren’t yet transformed into modules.
Almost as important but less obvious, thanks to the fact that all JARs on the class path end up in the unnamed module (see section 8.2), no one is forced to use it as a module. If someone sticks with the class path a while longer, your project will work just as if the module descriptor weren’t there. If you’d like to modularize your library but your dependencies aren’t modules yet, see section 9.2.3.
Figure 9.7 By creating a multi-release JAR, you can place the module descriptor in
META-INF/versions/9instead of the artifact’s root.![]()
This feature goes far beyond adding module descriptors. So, if you haven’t already, I recommend reading appendix E.