OSGi Demos

Tired of reading articles and tutorials?

Nothing beats being able to try tools and new OSGi bundles directly on your machine; normally it would require some time to download and set up everything but luckily OPS4J guys have create the great Pax-Runner. (Don’t know Pax-Runner? Check the introduction and the provisioning article).

       Powered by

So that’s the deal: if you install Pax-Runner, the OSGi Look will provide you some provisioning file to install and setup a demo (or some bundle) with a one-line-one command.

Don’t find what you are looking for? Write me your request, or send me your pax-runner file to include it in this page.

Demos available:


Note: all these demos work on Felix, Equinox and Knopflerfish. Just add the –platform option (i.e. –platform=equinox) to the launch script to specify your target container

Apache Felix Demo Application: a simple modular Java Desktop application
Described on Easy OSGi provisioning with Pax-Runner provisioning files
Run it! with

$ pax-run.sh http://www.osgilook.com/static/samples/felix-demo.txt


Apache Felix Web Console
Described in Monitor your OSGi container with the Apache Felix Web Console
Run it! with

$ pax-run.sh http://www.osgilook.com/static/samples/felix-web-console.txt


Knopflerfish HTTP Console
Described in Test Driving the Knopflerfish HTTP Console
Run it! with

$ pax-run.sh http://www.osgilook.com/static/samples/kf-http-console.txt


OSGi HTTP Service
Article coming soon…
Run it! with

$ pax-run.sh http://www.osgilook.com/static/samples/osgi-http-service.txt