The document summarizes updates from the OSGi community in 2012, including the release of OSGi Core R5 specification, new versions of tools like Bndtools 2.0.0 and libraries like Guava 12.0 as OSGi bundles. It highlights key services defined in OSGi Compendium 4.3 like coordinator and resolver services and tools for debugging and testing OSGi applications. Finally, it lists many releases from the OSGi community during 2012, such as new versions of Apache Felix, Eclipse Virgo, PaxExam and other OSGi frameworks, libraries and tools.
6. Coordinator Service
„A Coordinator service coordinates
activities between different parties.“
1 - OSGi Compendium Specification 4.3
7. Resolver Service and
Repository Service
„A resolver service resolves the specified
resources in the context supplied by the caller.“
„Repository Service to find capabilities that
1
match specified requirements“
1
- OSGi Enterprise Specification R5
9. X-Rays for OSGi
Simple way to debug Services and Dynamic.
1
http://softwaresimplexity.blogspot.de/2012/05/x-rays-for-osgi.html
10. Bndtools 2.0.0.alpha
Highlights:
- OSGi Enterprise Repository and Resolver
- DS 1.2 Annotation Support
- BND feature Conditional-Package
static linking in OSGi Bundles like in C
1
- ...
https://github.com/bndtools/bndtools
11. Bndtools RT REST
(Extender)
REST Service in OSGi based on JAX-RS.
Support for Service Injection into REST Application classes.
https://github.com/bndtools/bndtools-rt
1
OSGi
Framework
listen
Bundle A
Extender Bundle B Matching
Bundles
Bundle C
do work for Bundle
Bundle D Non-matching
Bundle
12. OSGi JAX-RS Connector
(Whiteboard)
OSGi Services are exported as REST web services by the
connector. Based on the Jax-RS implementation Jersey.
https://github.com/hstaudacher/osgi-jax-rs-connector
1
Provider
Name Value
type api.Echo
- register availavility 5
- unregister
Consumer
Name Value - get
- listen
type api.Echo
availavility 5 Service Registry
... ...
13. Pax CDI
Contexts and Dependency
Injection for OSGi
http://team.ops4j.org/wiki/display/PAXCDI/
1
14. Guava as OSGi Bundle
The guava Java util libraray in version 12.0 from Google is now
provided direct as a OSGi bundle.
https://code.google.com/p/guava-libraries/
1
15. OSGi specific assertions
and utility classes
Simple but power full assertion library which provides OSGi
specific assertions.
https://github.com/dpishchukhin/org.knowhowlab.osgi.testing
1