Overview of independent Java™ archives (JARs) with OSGi applications
If you want your OSGi application to use packages in JAR files
that were developed independently of your application, there are two
primary approaches:
In both of these approaches, the JAR file must first be in OSGi
bundle format.
There are some advantages and disadvantages to each of these approaches
that you should consider.
Advantages | Disadvantages | |
---|---|---|
Including the JAR file in an OSGi application |
|
|
Depending on the JAR file without including it in an OSGi application |
|
|
For more information about using independent JAR files with OSGi applications, see the following subtopics: