Qconn

Asynchronous OSGi – Promises for the masses

Asynchronous OSGi – Promises for the masses

Time: 
Thursday, 3:00pm - 3:50pm
Abstract: 

Asynchronous and event-driven programming models have become increasingly popular in Java, and the Actor pattern is commonly used to help design and build these systems. At its heart the Actor pattern is all about composing systems from modular components – exactly the same thing that OSGi is designed for. In the upcoming OSGi Enterprise R6 release (planned Q3 2014) OSGi will be adding some new APIs that allow bundles to communicate asynchronously, even using existing synchronous services.

 

This talk will describe the workings of the new Promises and Asynchronous Services APIs from OSGi RFC 206, showing you how you can start to take advantage of asynchronous programming between modular, loosely-coupled services. It will also demonstrate how OSGi Remote Services can transparently integrate within the asynchronous application, allowing completely non-blocking interactions in distributed environments.

Tim.Ward's picture
Tim is a Senior Consulting Engineer and Trainer at Paremus, a co-author of Enterprise OSGi in Action, and has been actively working with OSGi for over six years. Tim has been a regular participant in the OSGi Core Platform and Enterprise Expert Groups, and led the development of several specifications, including OSGi Promises and Asynchronous Services. Tim is also an active Open Source committer and a PMC member in the Apache Aries project, which provides a container for enterprise OSGi applications. @TimothyWard