javaasynchronousosgiapache-felixbndtools

How do I implement asynchronous processing on an apache felix?


In our current project we have the need to do some calculations asynchronously. We're using OSGi with bndtools on an Apache Felix 4. Any advice on how to do that? We're looking for something like http://docs.oracle.com/javaee/6/tutorial/doc/gkkqg.html


Solution

  • How about OSGi promises

    1. OSGi specification 705 Promises Specification
    2. excellent presentation on Asynchronous OSGi by Tim Ward
    3. Interview/Introduction OSGi Promises specification also from Tim Ward
    4. Code example from Apache Aries on Promises