Re: [gemfire-dev] More detailed Geode Modularization proposal

2017-03-30 Thread Dan Smith
I remember one of the issues we hit with OSGI is that geode-core needs to be able to instantiate internal classes of other modules in order to deserialize them. Is that something that is going to be an issue with jboss modules? All of the documentation on classloaders for jboss modules is blank in

Re: [gemfire-dev] More detailed Geode Modularization proposal

2017-03-30 Thread Udo Kohlmeyer
Hi William, I had looked at this. I liked the idea of JDK9's modular approach. With it's GA data not too far off, it is a definite contender. --Udo On 3/29/17 17:35, William Markito Oliveira wrote: Since the modularization effort may take a significant time and one of the big features of Ja

Re: [gemfire-dev] More detailed Geode Modularization proposal

2017-03-29 Thread Jacob Barrett
At the rate Java 9 keeps getting pushed back I don't think it's a viable option. JBoss Modules implements many of the same features as it pertains to our needs and works in Java 8 and 9. From what I recall from years back the spec for jigsaw was mostly lifted from JBoss Modules, so it won't be a ha

Re: [gemfire-dev] More detailed Geode Modularization proposal

2017-03-29 Thread William Markito Oliveira
Since the modularization effort may take a significant time and one of the big features of Java 9 is modularization, why not leverage the infrastructure of the JDK [1] for that ? This would not only bring the modularization but also make it 100% compatible with Java 9. It also provide solutions a

Re: [gemfire-dev] More detailed Geode Modularization proposal

2017-03-29 Thread Jared Stewart
I have some questions about the ClassLoader isolation proposal. If the class loaders of different modules are truly isolated, how can any module load classes from a different module? And conversely, if different modules can load classes from each other, how can they truly be isolated? In somet