Tuesday, 18 September 2007

My Basic - OSGI programming Sample

My Basic - OSGI programming Sample
just show how servlet is working under osgi environment

Click here

1 comment:

Peter said...

You are assuming that the Http Service is registered before you start and never goes away. The dynamics are an intrinsic part of OSGi, ignoring them will fail you. For example if the HTTP service bundle gets updated you are s.....d.

The best way to handle the dynamics is to use a helper like Declarative Services, Spring, iPOJO, SAT, etc.

You can find an example with Declarative Services at the aQute snippets site.

Peter Kriens