peaberry - blending services and extensions
to support injection of dynamic services. It provides OSGi integration out of the box, and has plug-in support for other registry-based service frameworks. This talk will show how peaberry can be used to seamlessly blend both OSGi services and Eclipse extensions in the same application, and help you switch between the two approaches.
We'll also take a quick look at a few of the design decisions behind peaberry:
- fluent builder approach for binding dynamic services
- clients can provide their own filter implementations
- optimized proxy based on Import<T> abstraction
- decorator pattern supports customization of proxies
Stuart works for CodeDragons Malaysia, a Java consultancy that specializes in all things OSGi. Previously, he worked on virtual machines at IBM. Stuart is currently a PMC member and active committer at Apache Felix
and helps out with a number of OPS4J
community projects, such as Pax-Runner and Pax-Construct. Stuart is also the project lead for peaberry
, a Guice extension for injecting OSGi services. His latest distraction is writing a book called OSGi in Action
, with Richard Hall and Karl Pauls.
This session is part of the curated collection of short talks titled
"OSGi Dual Talks: Scala + Peaberry"