war/WEB-INF/lib in JPMS concept

Alan Bateman Alan.Bateman at oracle.com
Fri Sep 28 18:44:02 UTC 2018


On 28/09/2018 17:59, Alex Sviridov wrote:
> Do I understand you right - you suggest to take these jars from /lib 
> and deploy
> them on the same layer (where is .war module) as independent modules.
> And when we create this layer we create one class loader for all modules?
If there were sharing of the modules in WEB-INF/lib between different 
web applications then you could resolve those and put them in their own 
configuration and module layer. If there is no sharing then one 
configuration and module layer sounds right.

-Alan


More information about the jigsaw-dev mailing list