JFX as an OSGi service?

Stephen Winnall steve at winnall.ch
Thu Feb 18 14:38:25 UTC 2016

I am trying to make JavaFX 8 work with OSGi Declarative Services. My preferred solution would be to instantiate javafx.application.Application as an OSGi service.

As I understand it, there are two ways of activating JavaFX:

1) sub-class javafx.application.Application or
2) call javafx.application.Application.launch()

However, both of these approaches give me a POJO, which makes interaction with OSGi services and bundles very difficult.

Is there a “proper” way of starting JavaFX as an OSGi service? If not, are there any plans to support this?


More information about the openjfx-dev mailing list