cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: Use of CXF with OSGI
Date Tue, 19 Jul 2011 20:00:05 GMT
Hi Brad,

you should take a look at the examples from Talend Service Factory 
(which is CXF + Karaf).

For example this one:

It shows how to use CXF on the OSGi container karaf. There is also a 
karaf distribution from Talend that is preconfigured for cxf:

Alternatively you should also be able to use servicemix which is also 
preconfigured nicely for CXF.

Compared to a raw Karaf both distros mostly adjust the jre.conf file to 
make CXF work.


Am 19.07.2011 20:46, schrieb Brad Taylor:
> I am somewhat of a newbie to this whole process, and as such do not know if
> this question even makes sense.  However let me try:
> I have a simple "application" that gets some simple arguments and generates
> essentially a result set of mutiple rows of identical data.  What one would
> normally see as the result of a SQL SELECT.  I wanted to have this be as
> standalone as possible, however its main API is a URI (XML over HTTP).  So
> from their I created an OSGI HTTP service (as opposed to embedding the app
> in a web container).  So now I can deploy my standalone osgi container, load
> the osgi bundles needed, point my client to the listening port and get back
> results.
> So my next step was to change the API to a RESTful API.  That is where I
> started looking at Jersey, then CXF.  However I can not find any examples of
> this type of implementation.
> Is this a valid approach?  Or should I be looking at a different approach?
> If it is valid, would someone be so kind as to point me in a direction that
> may lead to my goal?
> Thank you
> Brad Taylor

Christian Schneider

Open Source Architect

View raw message