An exemplary use of module layers is documented and implemented here: https://github.com/moditect/layrry
Copied from its "Why Layrry?" section: This is where Layrry comes in: utilizing the notion of module layers, it > provides a declarative approach as well as an API for assembling > modularized applications, organized in module layers. The JARs to be > included are described using Maven GAV (group id, artifact id, version) > coordinates, solving the issue of retrieving all required JARs in the right > version. Module layers allow to use different versions of one and the same module in > different layers of an application (as long as they are not exposed in a > conflicting way on module API boundaries). Cheers, Christian On Mon, Jan 15, 2024 at 6:58 PM PavelTurk <pavelturk2...@gmail.com> wrote: > Hello all. > > JPMS is not only about modules, but it also supports layers. What is the > practical use of JPMS layers? > > Best regards, Pavel >