|
Page Edited :
CXF :
DOSGi DS Demo page
DOSGi DS Demo page has been edited by David Bosschaert (Jun 04, 2009). Content:This page describes the CXF Distributed OSGi with Declarative Services demo. The Declarative Services demo uses a DS implementation to create a remoted OSGi service from a DS component. The consumer side uses DS to create a component that consumes the remote OSGi service. By using Declarative Services, you don't need to write code to interact with the OSGi Service Registry. That's all handled through injection which hugely simpliefies the code. This demo can be used with any DOSGi distribution, in this document the single-bundle distribution is used with the Equinox implementation of DS. Demo designThis demo is quite similar to the Spring-DM demo and the Greeter demo in structure. It consists of 3 bundles:
The service implementation and consumer bundle are built using DS. public interface AdderService { int add(int a, int b); }
|
Unsubscribe or edit your notifications preferences
