Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Plug-in Architectures With Layrry and the Java Module System

Plug-in Architectures With Layrry and the Java Module System

The Java Module System lays the foundation for building modularized applications on the JVM. It doesn't concern itself though with resolving module versions and obtaining modules from remote repositories. This is where Layrry [1] comes in: an API and launcher for modularized Java applications which takes a descriptor of the module layer(s) to assemble, fetches the modules and starts up the application. Also dynamically added and removed plug-ins become a possibility with Layrry.

[1] https://www.morling.dev/blog/plugin-architectures-with-layrry-and-the-java-module-system/

Gunnar Morling

September 10, 2020
Tweet

More Decks by Gunnar Morling

Other Decks in Programming

Transcript

  1. Some User Statements “JPMS only allows for one version of

    a module” “JPMS doesn’t allow to add modules at runtime” “I need to modularize ALL my dependencies in order to benefit from JPMS” “It’s so hard to map dependency coordinates to module dependences” “Help, non-exported packages of different modules collide!”
  2. What no one ever said “Let’s use JPMS Layers to

    tackle (some of) these issues”