![Java 9 Dependency Injection](https://wfqqreader-1252317822.image.myqcloud.com/cover/971/36699971/b_36699971.jpg)
上QQ阅读APP看书,第一时间看更新
Structure of a module
Modules are the main building block of JPMS. Modules are similar to JARs, but have additional characteristics, such as:
- Module Name: A unique name to identify globally; a name can be defined by using inverse-URL naming convention
- Declare dependencies for other modules
- Declaration of API that needs to export as packages
![](https://epubservercos.yuewen.com/6E58C4/19470394608891806/epubprivate/OEBPS/Images/c77ee04c-5d11-4d8f-a6e2-ac5466c8077b.png?sign=1738941261-xvRrX9pmOdW4TGY7x141sj9XKCtb8GUF-0-09de20bb26b795f31d302b991855c267)