The recommended way to name a module is to use the reverse-domain-name pattern that has long been recommended for naming packages. Furthermore, Mark Reinhold writes: Strongly recommend that all modules be named according to the reverse Internet domain-name convention.
What is module name in Eclipse?
In two tutorials, we introduced the new feature of modules in Java 9 and discussed creating a module in Eclipse IDE. A module is a set of named Java packages, resources, and native libraries; it provides modularization to the JDK. The module system is an implementation of the JSR 376: JavaTM Platform Module System.
How do you create a module in Java?
- Right-click the module source folder, then New module-info.java ; an empty module descriptor is created with a default module name as shown here:
- To create a new package, right-click the src folder, click New, and then click Package.
- Enter the package name ( eg.