On 6/4/07, Rajini Sivaram <[EMAIL PROTECTED]> wrote:
Hello, I would like to contribute to the SCA<->OSGi integration activities. I have been looking at the existing OSGi binding implementation in Tuscany which exposes SCA services as OSGi services. Even though this binding is no longer working with the latest Tuscany builds, the samples were very useful to understand the scenarios. I was also looking at the notes on the mailing list (they are slightly old - dated Nov 2006) which talk about an OSGi host and also an OSGi implementation type. Is there any ongoing work in these areas? Graham Charters and I have been investigating the use of an OSGi implementation type which will enable existing OSGi bundles to be run as SCA components under Tuscany. We are particulary interested in the scenario where Tuscany is in control. If components of OSGi implementation type are specified in the composite, Tuscany starts up an OSGi runtime and deploys the OSGi bundles corresponding to the components into the OSGi runtime. If there are references from the OSGi component to other non-OSGi SCA components, a proxy service is registered by the Tuscany runtime with the OSGi registry so that the OSGi bundles can access these SCA services as normal OSGi services. References from non-OSGi components to OSGi components are resolved by looking up the OSGi registry. We would like to obtain feedback on using this approach and also would like to get involved in the ongoing support for SCA<->OSGi integration. Thank you... Regards, Rajini
Sounds really good to me, though I'm no OSGi expert so I've also CC'd a couple of others who've sounded interested in Tuscany's OSGi support in the past in case they're don't see this on the Tuscany mailing list. One approach would be to just start submitting code as that may prompt further discussion. We can get that added to SVN which makes it easier for you and everyone else, and it doesn't have to be beautiful finished code as we don't need to add it to the main build till you're ready. If you're not so familiar with the Tuscany SPIs yet we could set up a module for you with the standard Tuscany boiler plate stuff already done to help you get started. ...ant
