Java 9 Dependency Injection
上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