The article goes over comparing 3 scenarios and comes with sample code (and complete source, with Maven and Eclipse artifacts)
- Exposing Esper runtime and administrative interfaces as OSGi services
- Layering Esper interfaces as OSGi services through some service provider abstraction
- Using Esper and the OSGi EventAdmin service specification
It is nice to see such exploration going on. I know we already have users running Esper in OSGi environment, although the vast majority is still running on bare JSE JVM or on JEE / servlet container stacks.
Readers familiar with the matter will also notice that WebLogic Event Server (now Oracle CEP) - is also leveraging OSGi. A main difference is that Esper does not mandate OSGi at all while the BEA/Oracle product does mandate end users to author OSGi modules - with pros and cons.
If you have experimented with similar stacks I'd be pleased to hear about your experience.
There is also good material available from the DynamicJava.org site to get started with OSGi based runtimes - including their own OSGi stack.
Read more about Esper and OSGi experiments at DynamicJava.org