Hi David You might be interested in Clerezza - Triaxrs [1]. This jax-rs implementations picks up any service implementing java.lang.Object annotated with a property of type Boolean named javax.ws.rs set to true as root resource or provider.
Note that the tutorila contains outdated package names (not yet apache), see the project dependency page [2] for the current versions, and feel free to ask. Cheers, reto 1. http://incubator.apache.org/clerezza/mvn-site/org.apache.clerezza.triaxrs.parent/org.apache.clerezza.triaxrs/index.html 2. http://incubator.apache.org/clerezza/mvn-site/org.apache.clerezza.triaxrs.parent/org.apache.clerezza.triaxrs/dependencies.html On Mon, Aug 23, 2010 at 8:43 AM, David Allen <[email protected]> wrote: > I have an extensive application wired using iPojo (love it!) but now I want > to create a REST API bundle where servlets are registered through pax-web. > > I was looking at Jersey for building out the endpoints, but I can't seem to > get Jersey/iPojo to play well. I have been able to run their OSGI examples > just fine, but when I try to replace the Activator with a Jersey > ServletContainer (or wrapper, or extendsion, etc) I get all sorts of errors. > I've also done the iPojo model fusion servlet example just fine. > > Has anyone successfully wired up Jersey servlets using iPojo? If not, is > anyone using Restlet or a similar library with iPojo? > > Cheers, > David Allen > > David Allen > veloGraf Systems > [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

