David Bosschaert, Progress Fellow and one of the drivers behind the Distributed OSGi/RFC 119 design and implementation, has posted a couple of good tutorials about it on his blog.
Here's his simple example to get started using the Distributed OSGi Reference Implementation and a more complex example using an Ajax client for a service invocation from an external source.
When we initially wrote the requirements for Distributed OSGi to start the EEG process of designing a solution that could be included in the next rev of the OSGi Specifications, we focused not only on the use case in which an OSGi service is able to invoke another OSGi service in a different (potentially remote) JVM, but also on the use cases in which an OSGi service might be invoked by an object external to an OSGi Framework.
David will be at the OSGi Dev Con in March (co-located with EclipseCon) and will be giving a presentation and demo about Distributed OSGi/RFC 119 along with Scott Lewis and others. ECF will be supporting Distributed OSGi/RFC 119, and there's note to the bottom of this page (and a comment to a previous post) that seem to indicate that Eclipse Riena also will, and apparently Paremus InfiniFlow too (if I have understood this interview correctly). So it looks like we are well on our way toward our goal of completing this work during the next few months.
In any case, please be sure to take a look and let us know what you think of Distributed OSGi/RFC 119, either in response to the blog posts or in person at OSGi Con.
5 months ago