Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.
Edvin Syse edited this page Jul 31, 2016 · 26 revisions

WikiDocumentationOSGi

OSGi

Creating highly modular and dynamic applications on the JVM is made possible by OSGi - a dynamic module system for Java. Feel free to skip this chapter for now if you're not interested in OSGi technology.

Requirements

To run TornadoFX in an OSGi container, you need to load the following bundles. Usually this is a matter of dumping these jars into the bundle directory. Note that any jar that is to be used in an OSGi container needs to be "OSGi enabled". This means adding some OSGi specific entries the META-INF/MANIFEST.MF file. Alle the resources below are OSGi enabled, including the TornadoFX jar.

Artifact Version Binary
JavaFX 8 OSGi Support 8.0 jar
TornadoFX 1.5.3 jar
Kotlin OSGI Bundle* 1.0.3 jar
Configuration Admin** 1.8.10 jar
Commons Logging 1.2 jar
Apache HTTP-Client 4.5.2 jar
Apache HTTP-Core 4.4.5 jar
JSON 1.0.4 jar

* The Kotlin OSGi bundle contains special versions of kotlin-stdlib and kotlin-reflect with the required OSGi manifest information.

** This links to the Apache Felix implementation of the OSGi Config Admin interface. Feel free to use the implementation from your OSGi container instead.

Next: i18n

Clone this wiki locally