Blog Archives

JAX-RS applications in OSGi – whiteboard style

There are various ways to publish a JAX-RS application when running inside OSGi. Some use Blueprint or Spring, and I’m sure there are other methods. I’d like to show how you can publish JAX-RS applications using the whiteboard pattern.

Tagged with: , , ,
Posted in Java, OSGi

OSGi Declarative Services: Configuring multiple instances of a component

Declarative Services are a nice way to create services in the OSGi environment, but there are some subtleties that are not always easy to get under control. Imagine you have a component that observes a directory and acts on the

Tagged with: , , ,
Posted in Java, OSGi