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