Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 840 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 840 Bytes

Demo project for "The Java Module System in Action: Building a distributed web app" for CodeOne. It shows an application based on the module system, using services, external frameworks (Vert.x and Jackson), black box module testing and more.

The following diagram describes the structure of the application.

architecture

The Gradle build uses the Gradle modules plugin that takes care of all the Gradle settings that are required to work with the module system.

The entrypoint of the application is the stockwatch.web module which contains a main class. The applicaiton plugin is enabled, which let you run commands such as:

  • ./gradlew run
  • ./gradlew distTar

The modules plugin configures the application plugin to setup the module path and such.