Hi Shanteshwar, The OSGi Enterprise Specification is a book of specs aimed to be a more enterprise-focused set of specifications, similar to how the OSGi Residential Specification is aimed at the residential area. The Compendium spec is generally the combination of all the specs together. However over time these lines have blurred a little bit.
The jars that represented the API of these specification books, e.g. the cmpn.jar were never aimed to be used at runtime, but rather as an 'Uber Jar' to compile against. However, since some time now, there are dedicated API Jars available for individual OSGi specs, which are suitable for both compiling and running, to see a selection, just search maven central: https://search.maven.org/search?q=a:org.osgi.service.* I would recommend using those individual API Jars instead of the spec-book-uber jars like cmpn.jar. Best regards, David On Wed, 6 May 2020 at 08:35, CHINCHOLE, SHANTESHWAR ASHOKRAO via osgi-dev < osgi-dev@mail.osgi.org> wrote: > Hi, > > > > What exactly is the difference between compendium and enterprise > specification of OSGi. What was the intent of introducing these 2 different > specifications? > > > > I came across a note on the forum saying – “The compendium jar was never > meant to be used at runtime but people abused it anyway”. Does it mean > that, we can drop usage of compendium jar going forward? > > > > Thanks & Regards, > > *Shanteshwar C* > > > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev