ApacheCon US 2009 Session
Tuscany: Applying OSGi modularity after the fact
- Luciano Resende
- Fri, 06 November 2009 11:15
- No Materials Available
Apache Tuscany is an open source project that simplifies the development, deployment and management of distributed applications built as compositions of service components. It is based on the Service Component Architecture specifications being defined by the OASIS Open SCA Collaboration. Tuscany was built with a modular architecture, using a different approach from that of OSGi. In 2008 an effort was started to integrate Tuscany with OSGi. As part of this we undertook an investigation into how to apply OSGi modularity to the Tuscany runtime, so that clean boundaries between modules are enforced and different versions of the same library can coexist. We started by analyzing the existing Tuscany modularity, which turned up lots of interesting information about the linkages between the various sub-components! This understanding was then used to determine how to map Tuscany into a suitable form for use as OSGi bundles, including prototyping various levels of decomposition granularity. This presentation will share the experiences of analyzing and modularizing an existing project using OSGi. It will discuss what to expect when approaching modularization for existing projects, the tools (and caveats) for aiding analysis, as well as best practices for applying OSGi modularity. Beyond enabling OSGi for the runtime, we are also going to cover how to integrate OSGi and SCA at the application level.





















