Still driving off the cliff
eric at tibco.com
Mon Feb 27 06:48:31 PST 2012
On 2/24/12 10:15 AM, Rémi Forax wrote:
> So even in a module world, you need a way to separate platform code
> from application code
> (it should be better to even have a system which is able to separate
> the application, from the container,
> from the platform).
I presume that the very notion of "platform" is something that
modularization should challenge. If you privilege a particular part of
the code base running in the JVM, then you make other uses of the JVM
harder and/or burdened by legacy assumptions.
Ideally, the only "privileged" module of the JVM is the ClassLoader
infrastructure and the bare minimum it needs to do its job.
So even your taxonomy of "application", "container", and "platform"
seems suspect to me, because these are just (semantically laden)
arbitrary labels associated with a particular code base. Ideally, we
recognize that and allow an infinite set of notions here, some which
might have commonly understood semantics. And if there is a privileged
one, it should be *very* small.
More information about the jigsaw-dev