It needs the Service Registry Hooks (this is typically needed by implementations of the OSGi Remote Service Specification). It works with Equinox 3.5 and Felix 1.8.0 and newer (I think Felix 1.6.1 might also work).

Pruitt, Byron S wrote:
Looks like this needs 4.2.  Sorry, I didn't make it clear I am still on 4.1.


-S

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of David Bosschaert
Sent: Tuesday, December 15, 2009 10:55 AM
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] JAX-RS

You can get one of the two 1.1 OSGi-deployable distributions from here: http://cxf.apache.org/dosgi-releases.html

The single bundle distro is a single bundle you can install any OSGi framework. The multi bundle distro provides the same functionality in multiple bundles which can have some sharing benefits.

If you're just starting off, I would recommend the single bundle distro: http://www.apache.org/dist/cxf/dosgi/1.1/cxf-dosgi-ri-singlebundle-distribution-1.1.jar
Works with Felix and Equinox.

Best regards,

David

Pruitt, Byron S wrote:
CXF looks great, but unless I am missing something I see nothing resembling an installable bundle. Looks to be geared more toward traditional servers.

-S

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Miguel
*Sent:* Tuesday, December 15, 2009 2:11 AM
*To:* OSGi Developer Mail List
*Subject:* Re: [osgi-dev] JAX-RS

hav you tried to use Apache cxf? you can find on the web some easy examples:


http://cxf.apache.org/distributed-osgi.html

http://blog.akquinet.de/2009/09/14/distributed-osgi-application-with-apache-cxf-dosgi/

http://www.noway.es/remote-OSGI-example



and more especification in Chapter 13 in the OSGi 4.2 Compendium Specification <http://www.osgi.org/Download/Release4V42>
Miguel

On Mon, Dec 14, 2009 at 11:18 PM, Pruitt, Byron S <[email protected] <mailto:[email protected]>> wrote:

I would like to start using JAX-RS with some existing REST services. Currently, I have implemented their api with standard Servlets using the HttpService. I have installed Jersey as my implementation.

I understand the annotation model well enough to start, but the piece I am missing is how to make resource classes known to the handler listening for the resource urls. Presumably something in Jersey. I would like to keep it very simple and need any other frameworks like cxf, etc.

I must be missing something obvious.  Thanks for any help.


-S

_______________________________________________
OSGi Developer Mail List
[email protected] <mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev

------------------------------------------------------------------------

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to