Guice and OSGi
I recently wrote a patch for Guice, which adds OSGi metadata to the jarfile and fixes some classloader issues when running on OSGi. Just apply this patch to the current Guice trunk (and copy the attached bnd-0.0.130.jar to the lib/build folder) and do "ant clean dist".
You can now take the Guice jar from build/dist and use it in any OSGi framework - there's an example over at OPS4J:
https://scm.ops4j.org/repos/ops4j/laboratory/users/stuart/peaberry
( btw, peaberry is a simple entity framework to test Guice and AOP on OSGi ... it only provides partial entity bean support, hence the name: Peaberry ;)
No comments:
Post a Comment