Berkeley Bits

June 3, 2009

Gripes with Distributed OSGi

Filed under: What I'm Up To — jholtzman @ 5:17 pm

For the most part, I’ve been pretty happy with the distributed OSGi programming model.  Unfortunately, there are a couple of areas where the reference implementation is getting under my skin:

  1. WSDLs are not easily usable outside DOSGI
  2. There is no obvious way to handle cross-cutting concerns

It may be possible to fix my WSDL gripe by modifying the CXF DOSGi implementation to use JAXB and JAX-WS annotations.  This would make the WSDLs more usable, but there was quite a bit of disagreement on the CXF mailing list about the wisdom of annotating the service interfaces.  Still, I might spend some time investigating whether this is a workable solution.

To handle  cross-cutting concerns, I’m about to take a look at Equinox Aspects, but I’m hesitant to go down that path for two reasons.  First, it seems to be designed specifically for the equinox container.  And second, it is yet another pre-1.0 project, and I’m hesitant to keep building upon such bleeding-edge technologies.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress