Hi Nadir,

what runtime do you use for OSGi? If you are just using OSGi on the server then I recommend using Apache Karaf. We have cxf features for Karaf that allow to install cxf very easily. I have a tutorial at http://liquid-reality.de/display/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi .

If you have a plain OSGi container like Felix or Equinox then the DOSGi mutli bundle distro is the easiest way to start. There is no slimmed down version for jaxrs though so you have to try to remove bundles and see if it still works. You can use karaf though and check the bundles installed there to get an idea which bundles you need. In karaf you need at least the feature cxf-jaxrs.

If you use Eclipse RCP then again the DOSGi distro is currently the best way to start. I will start an effort to create a P2 repo for cxf soon. Then it will be much easier to install cxf in Eclipse RCP.

Best regards

Christian


On 22.04.2013 19:22, Saghar, Yusuf M. wrote:
Hi,
Can anyone tell me what are the minimum bundles required to provide JAX-RS feature in DOSGi ? I 
don't really care for "OSGi Remote Services Specification" implementation. The 1.4.0 
multi-bundle 
distribution<http://repository.apache.org/service/local/repositories/releases/content/org/apache/cxf/dosgi/cxf-dosgi-ri-multibundle-distribution/1.4.0/cxf-dosgi-ri-multibundle-distribution-1.4.0-dir.tar.gz>
 seem to have a lot of bundles most of which I may not be needing if I wanted to implement a 
REST service using JAX-RS. Are the other bundles such as ZooKeeper absolutely necessary ?

As a  side note , is there an OSGified version of Apache CXF independent from 
DOSGi project ?

Thanks,
Nadir
____________________________________________
Nadir Saghar
System Software Engineer
Center for Comprehensive Informatics, Emory University
36 Eagle Row, #567, Atlanta, GA 30322
Phone: 404-727-0046
[email protected]


________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).



--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to