You can use CXF-DOSGi. The examples use declarative services. See https://github.com/apache/cxf-dosgi/tree/master/samples/rest
Christian 2017-05-10 10:32 GMT+02:00 Massimo Bono <[email protected]>: > Hello, > > I'm playing with Apache Karaf and CXF and I'm trying to setup a REST hello > world application with Declarative Service. Several tutorial are available > on the internet (like > http://liquid-reality.de/display/liquid/2011/12/22/Karaf+ > Tutorial+Part+4+-+CXF+Services+in+OSGi > or https://cwiki.apache.org/confluence/pages/viewpage.action? > pageId=55153391 > ). > > However, there seems to be no example exploiting DS. I'm not accustomed to > blueprints, but I thought i could transfer the parameters inside it to DS. > Sadly, I can't translate jaxrs:server values from BP to DS. > > So my question are: > 1) Is it possible to start CXF on apache karaf (4.1.1) with DS? > 2) If yes, can you provide an example or some basic step to achieve it? > > Thanks for any kind reply > > -- > *Ing. Massimo Bono* > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
