Drombler / drombler-fx

Drombler FX - the modular application framework for JavaFX.
https://www.drombler.org/drombler-fx
Other
60 stars 8 forks source link

Java 11: make sure Drombler FX works with Java SE 11 #172

Open puce77 opened 7 years ago

puce77 commented 7 years ago

Make sure Drombler FX works with Java SE 9.

puce77 commented 7 years ago

Blocked by: https://issues.apache.org/jira/browse/FELIX-5575

claudio-rosati commented 7 years ago

Will Java 9 modules system supersede OSGI?

puce77 commented 7 years ago

AFAIK, Java 9 module system does not support to load different versions of the same class out-of-the-box (see "dependency hell" issue). And the module layer is only one of the three layer OSGi provides. That said, I'm looking also for easier alternatives, e.g. Java 9 module systems + CDI + some clever "plugin" classloader tricks?

For now we just have to make sure Drombler FX can combine OSGi with Java SE 9.

claudio-rosati commented 7 years ago

Thank you for the answer. I'll look forward for the results of your investigation on alternatives.

puce77 commented 6 years ago

OSGi R7 seems to have support for Java 9: https://blog.osgi.org/2018/02/osgi-r7-highlights-java-9-support.html

puce77 commented 6 years ago

The upcoming Apache Felix v6.0.0 seems to support OSGi R7: https://issues.apache.org/jira/browse/FELIX-5791

puce77 commented 6 years ago

Use Java SE 11 instead of Java SE 9

maggu2810 commented 5 years ago

Perhaps that slides could be interesting: https://tomsondev.files.wordpress.com/2018/12/javafx-days.pdf

puce77 commented 5 years ago

@maggu2810 : Thanks, I will have a look at it

puce77 commented 5 years ago

Also see: https://github.com/osgi/design/blob/master/rfps/rfp-0196-OSGiConnect.pdf https://github.com/osgi/design/tree/master/rfcs/rfc0243

-> new issue?

puce77 commented 4 years ago

Blocked by https://issues.apache.org/jira/browse/FELIX-6287 It seems this has to wait for a OSGi Connect release.