October 2021
Intermediate to advanced
131 pages
1h 34m
English
A module is a reusable group of related packages and resource files together with a module descriptor file. They should be self-sufficient and only expose interfaces to use the module’s functionality.
NetBeans has a special project type for managing multiple modules. To create such a project, go to File ➤ New Project, and from there, select Java Modular Project under the Java with Ant category. Click Next, and give the project the name MyModules, and click Finish to create the project. Go ahead and add a module named “firstmodule” to this project by right-clicking ...
Read now
Unlock full access