Hi Rice
On 02/03/12 16:47, Rice Yeh wrote:
Hi Sergey,
After looking into the source code in cxf, I find a lot of classes for
OSGi are added in cxf now. I know there is a osgiservlet in
cxf-rf-transports-http and run in Karaf, it seems that it is constructed
but it is not added to the http service. Do you know where the code is for
adding osgiservlet to http service?
It's activated by Blueprint finding the resource in OSGI-INF in
cxf-rt-transports-http; you can view it as a default CXF servlet and if
a single context will do for then you can rely on it...
Also, I do not use karf feature from
apache cxf because it is too big in terms of bundles included. For my
project, I just need jaxrs.
If you look at the karaf feature file, there's a cxf-jaxrs feature
there. The cxf-jaxrs bundle can help too. I'm hoping to look into the
better osgi-ification of the jaxrs frontend in more depth probably
immediately after 2.6.0 (frontend specific activator, etc), though I
might get a bit of time before the release too,
Let me know please how this project goes
Cheers, Sergey
Rice