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.

Verwendete Schlagwörter: , , ,
Veröffentlicht in Java, OSGi

OSGi Bundle Utility 1.0 released

Writing OSGi bundle manifests by hand is nothing anyone wants to do, although some entries will always need to be added explicitely. The most prominent of tools for automatically getting imports and exports right is Peter Kriens‘ Bnd. However, I

Veröffentlicht 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

Verwendete Schlagwörter: , , ,
Veröffentlicht in Java, OSGi

Specifying Classpaths

Java is great. Really. But there are sometimes subtleties that need to be kept in mind as I had to find out in the last few days once more. After looking in all the wrong places, that is. I’m talking

Veröffentlicht in Java