
Amoduleis organized in the form ofpackageand static resources (such asproperty filesor others) A collection of classes. It provides the external environment with all the information needed to use the module. The moduledescriptoris the key source of the module system, it is the compiled version of the module declaration, located in the root directory of the module directory hierarchy named "module-info.java" in the file.
A module describes itself through the following module declaration
module com.myproject.module1 { requires com.myproject.module2; exports com.myproject.project1; exports com.myproject.project2; }
The following are descriptions of some module descriptors:
The above is the detailed content of What is the importance of module descriptors in modules in Java 9?. For more information, please follow other related articles on the PHP Chinese website!
The difference between heap and stack
vb.net tutorial
How to configure maven in idea
js shift operator usage
How to convert wav format
What are the advantages and disadvantages of decentralization
How to solve the problem that document.cookie cannot be obtained
The difference between master and host