Difference between revisions of "OSGi"

From BC$ MobileTV Wiki
Jump to: navigation, search
 
Line 28: Line 28:
 
* OSGi -- Subsystems - For those occasions where bundles are just too small: https://www.slideshare.net/mfrancis/subsystems-for-those-occasions-where-bundles-are-just-too-small-graham-charters
 
* OSGi -- Subsystems - For those occasions where bundles are just too small: https://www.slideshare.net/mfrancis/subsystems-for-those-occasions-where-bundles-are-just-too-small-graham-charters
 
* Sling JMS: https://github.com/wttech/PoC-Sling-JMS | [https://www.slideshare.net/TomaszRkawek/activemq-adaptto SLIDES]
 
* Sling JMS: https://github.com/wttech/PoC-Sling-JMS | [https://www.slideshare.net/TomaszRkawek/activemq-adaptto SLIDES]
 +
* Apache Felix -- Maven Bundle Plugin (BND): https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html
  
  
Line 50: Line 51:
 
* Exporting and importing same package from an osgi bundle: https://stackoverflow.com/questions/47326136/exporting-and-importing-same-package-from-an-osgi-bundle
 
* Exporting and importing same package from an osgi bundle: https://stackoverflow.com/questions/47326136/exporting-and-importing-same-package-from-an-osgi-bundle
 
<ref>Why import version range if exact version of dependency is known?: http://apache-felix.18485.x6.nabble.com/Why-import-version-range-if-exact-version-of-dependency-is-known-td5010123.html</ref>
 
<ref>Why import version range if exact version of dependency is known?: http://apache-felix.18485.x6.nabble.com/Why-import-version-range-if-exact-version-of-dependency-is-known-td5010123.html</ref>
 +
* How to embed external jars dependency in OSGI bundles?: https://stackoverflow.com/questions/56697999/how-to-embed-external-jars-dependency-in-osgi-bundles
 +
* Exclude all transitive dependencies of a single dependency: https://stackoverflow.com/questions/547805/exclude-all-transitive-dependencies-of-a-single-dependency
  
  
Line 72: Line 75:
 
* OSGi Core Release 8 is now final and published: https://blog.osgi.org/2020/12/osgi-core-release-8-is-now-final-and.html
 
* OSGi Core Release 8 is now final and published: https://blog.osgi.org/2020/12/osgi-core-release-8-is-now-final-and.html
 
* OSGi Working Group Settles into New Home at Eclipse Foundation: https://www.infoq.com/news/2021/04/java-osgi-eclipse/
 
* OSGi Working Group Settles into New Home at Eclipse Foundation: https://www.infoq.com/news/2021/04/java-osgi-eclipse/
 +
* What causes ''java.lang.IncompatibleClassChangeError?'': https://stackoverflow.com/questions/1980452/what-causes-java-lang-incompatibleclasschangeerror (particularly need to be careful of when using OSGi bundling & versioning and/or Maven BND plugin)
  
  

Latest revision as of 16:24, 2 August 2022

Open Services Gateway initiative (commonly abbreviated as OSGi or with capital "I") is a dynamic module system used in many projects including Eclipse and GlassFish. A module in OSGi is known as a bundle - basically a JAR with additional metadata. This metadata describes the bundle's identity, what packages it needs, and what it provides.





Tools


Resources


Tutorials

[2]


External Links


References

  1. java.lang.NoClassDefFoundError on OSGi: https://stackoverflow.com/questions/5181211/java-lang-noclassdeffounderror-on-osgi
  2. Why import version range if exact version of dependency is known?: http://apache-felix.18485.x6.nabble.com/Why-import-version-range-if-exact-version-of-dependency-is-known-td5010123.html

See Also

Java | Widget | AEM | Maven