Hi Just for the record, Distributed OSGi RI [1] can have OSGI services exposed as RESTful endpoints with the help of the CXF JAX-RS implementation, please see [2] and [3]
cheers, Sergey [1] http://cxf.apache.org/distributed-osgi.html [2] http://cxf.apache.org/docs/jax-rs.html#JAX-RS-IntegrationwithDistributedOSGi [3] http://cxf.apache.org/distributed-osgi-reference.html#DistributedOSGiReference-ServiceProviderpropertiesForConfiguringRESTfulJAXRSbasedendpointsandconsumers Karl Pauls wrote: > > Not sure whether this is what you are looking for but iirc clerezza > (http://incubator.apache.org/clerezza/) has a JAX-RS implementation > designed to work in an OSGi environment and allowing to provide > Root-Resources as OSGi services. There is virtually no documentation > yet but you can always ask at the mailing list if you have further > questions. Maybe have a look at one of the subprojects that use jaxrs > like > http://svn.apache.org/repos/asf/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.web.fileserver > > regards, > > Karl > > On Tue, Apr 6, 2010 at 6:55 PM, Larry Touve <[email protected]> > wrote: >> I'm using Jersey to develop some RESTful Web Services. I'd like to >> create these as OSGI bundles that I can deploy. Is there any (relatively >> easy) way to do this? I'm currently running Glassfish V3, and am >> deploying bundles to the underlying Felix, but I'd like to run just >> Felix (without GF) and have the Web Services exposed (through the Felix >> http bundle?). >> >> I looked at the example from the Apache Felix HTTP Service page >> (http://felix.apache.org/site/apache-felix-http-service.html) where the >> ServiceReference from the HttpService class is used to register a pojo >> that extends HttpServlet. Would It be similar for a Jersey POJO? >> >> >> Thanks, >> Larry >> >> > > > > -- > Karl Pauls > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/OSGI-Bundles-as-Web-Services-tp28154612p28162455.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

