Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The samples directory contains these sample projects:

Sample

Description

Doc Page

greeter

a very simple demo of a Greeter OSGi Service exposed remotely and a Consumer invoking on it.

Walkthrough of the Greeter Demo

greeter_rest

a very simple demo of a Greeter OSGi Service exposed remotely as a RESTful service and a Consumer invoking on it. Virtually identical to a greeter sample Walkthrough of the Greeter Demo

spring_dm

a demo created using Spring-DM. Rather than invoking on the OSGi API's directly, the Spring-DM demo shows Shows how you can use Spring DM to configure export your beans as OSGi Services and similarly how to use Spring-DM to invoke inject a (remote) OSGi Service.

DOSGi Spring-DM Demo page

ds

this demo shows Shows how Distributed OSGi can be used with OSGi Declarative Services (DS). DOSGi DS Demo page

discovery

this demo shows Shows how to use Distributed OSGi with a dynamic Discovery system such as the one based on Zookeeper that comes with CXF/DOSGi.

DOSGi Discovery Demo page

iPOJO

this demo shows Shows how Distributed OSGi can be used with iPOJO DOSGi iPOJO Demo page

The samples can be installed directly from the maven release repository (as described in the demo documentation pages), but you can also build them yourself.
To build the samples from source:

...