users@javaee-spec.java.net

[javaee-spec users] Re: [jsr342-experts] Re: Modularization Framework/SPI

From: Craig Ringer <ringerc_at_ringerc.id.au>
Date: Wed, 25 Jul 2012 08:08:02 +0800

On 07/25/2012 01:14 AM, Reza Rahman wrote:
>
> Right. Admittedly, the ultimate answer to the multiple API version
> issue is of course Jigsaw/OGSi style general modularity. However, a
> more "low-tech" option could simply be being able to specify desired
> API version numbers in the existing deployment meta-data and having
> the runtime's class-loader understand what you mean and load the right
> Java EE API packages.
>

JBoss modules already solves this problem. It doesn't break up the JDK
and JRE libraries, but it provides a strong module system for code
sitting on top. With Jigsaw running out of steam, it's a strong
contender for adoption into EE 7.

--
Craig Ringer