Hi all,

I would like to receive some hints about the correct management of CXF in a 
OSGI/Equinox environment.
As premise I'm just arrived in a company where there is a big application 
deployed in OSGI, with many bundles, my colleagues have told me about many 
conflicts in using cxf in the different bundles, so they prefered not using it 
at all.

For what I can see, there was a wrong usage of OSGI paradigm, for example, each 
bundle who makes use of cxf:
- embed all cxf direct and transitive dependencies, so each bundle has all what 
it needs inside it, but bundles are big
- that is, each bundle has <import-package>!*,</import-package>, that it is 
states that bundle does import nothing, because it embeds everything

They use no cxf bundles at all, but there are a couple of bundles embedding 
it... 
I would like to know if exist a cxf bundle, I found this 
http://cxf.apache.org/distributed-osgi.html but I'm not  understanding really 
if it is useful in my scenario of if it is something too big to be simply 
placed in an already complex system like the our.

Otherwise which best practice should we adopt? Does it make sens create our cxf 
bundle and modifying all the other bundles to import packages from it?

Really thanks to all, OSGI seems very difficoult but we believe that it has 
many strengths

Raffaele Gambelli

Reply via email to