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