You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Sven Zethelius <sv...@expedia.com> on 2010/09/16 23:02:47 UTC

DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

I'm currently working on an OSGI project that uses CXF as a bundle, so we picked up the DOSGI cxf-bundle-minimal-2.2.9.jar.  I've noticed some of the classes and other files that are included in cxf-2.2.9.jar aren't included in the cxf-bundle-minimal-2.2.9.jar.  Of interest to me is the fact that the LocalTransportFactory and ObjectBindingFactory and their related classes are being excluded.  Is there a reason they are excluded from the bundle?  Would it be possible to add them?




RE: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Posted by Sven Zethelius <sv...@expedia.com>.
What we want to do is make both local and remote services look the same, but the remote services needs some extra methods that are only provided by the proxy interfaces.  To make local look the "same", they'd also have those proxies, but we don't want the local's to have to implement those.  Hence having both go through CXF gives us the same view, with just different conduits used if its local or remote.  The local service will be available in the OSGi registry, just not on the same interface as the proxies for those local services.

Thanks, Sven

-----Original Message-----
From: Sergey Beryozkin [mailto:sberyozkin@gmail.com] 
Sent: Friday, September 17, 2010 10:32 AM
To: users@cxf.apache.org
Subject: Re: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Hi

Just out of curiousity, why do you need the local transport in the DOSGI
case ? If you have some service references injected then they'd be OSGI
services as well...Sorry, I'm probably missing something, just would like to
understand

thanks, Sergey

On Fri, Sep 17, 2010 at 6:14 PM, Sven Zethelius <sv...@expedia.com> wrote:

> Thanks David.  I didn't realize the way these were packaged.  I managed to
> find the full cxf-bundle-2.2.10 from the maven repository that should meet
> my needs.
>
> -----Original Message-----
> From: David Bosschaert [mailto:david.bosschaert@gmail.com]
> Sent: Thursday, September 16, 2010 3:54 PM
> To: users@cxf.apache.org
> Subject: Re: DOSGI: dependency local transport and object binding not
> included in cxf-bundle-minimal ?
>
> Hi Sven,
>
> CXF-DOSGi is simply using the cxf-bundle-minimal jar provided by the
> main CXF project. If you think that the cxf-bundle-minimal should
> contain more classes maybe you should file a bug on CXF for this?
>
> Best regards,
>
> David
>
> On 16 September 2010 14:02, Sven Zethelius <sv...@expedia.com> wrote:
> > I'm currently working on an OSGI project that uses CXF as a bundle, so we
> picked up the DOSGI cxf-bundle-minimal-2.2.9.jar.  I've noticed some of the
> classes and other files that are included in cxf-2.2.9.jar aren't included
> in the cxf-bundle-minimal-2.2.9.jar.  Of interest to me is the fact that the
> LocalTransportFactory and ObjectBindingFactory and their related classes are
> being excluded.  Is there a reason they are excluded from the bundle?  Would
> it be possible to add them?
> >
> >
> >
> >
>

Re: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi

Just out of curiousity, why do you need the local transport in the DOSGI
case ? If you have some service references injected then they'd be OSGI
services as well...Sorry, I'm probably missing something, just would like to
understand

thanks, Sergey

On Fri, Sep 17, 2010 at 6:14 PM, Sven Zethelius <sv...@expedia.com> wrote:

> Thanks David.  I didn't realize the way these were packaged.  I managed to
> find the full cxf-bundle-2.2.10 from the maven repository that should meet
> my needs.
>
> -----Original Message-----
> From: David Bosschaert [mailto:david.bosschaert@gmail.com]
> Sent: Thursday, September 16, 2010 3:54 PM
> To: users@cxf.apache.org
> Subject: Re: DOSGI: dependency local transport and object binding not
> included in cxf-bundle-minimal ?
>
> Hi Sven,
>
> CXF-DOSGi is simply using the cxf-bundle-minimal jar provided by the
> main CXF project. If you think that the cxf-bundle-minimal should
> contain more classes maybe you should file a bug on CXF for this?
>
> Best regards,
>
> David
>
> On 16 September 2010 14:02, Sven Zethelius <sv...@expedia.com> wrote:
> > I'm currently working on an OSGI project that uses CXF as a bundle, so we
> picked up the DOSGI cxf-bundle-minimal-2.2.9.jar.  I've noticed some of the
> classes and other files that are included in cxf-2.2.9.jar aren't included
> in the cxf-bundle-minimal-2.2.9.jar.  Of interest to me is the fact that the
> LocalTransportFactory and ObjectBindingFactory and their related classes are
> being excluded.  Is there a reason they are excluded from the bundle?  Would
> it be possible to add them?
> >
> >
> >
> >
>

RE: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Posted by Sven Zethelius <sv...@expedia.com>.
Thanks David.  I didn't realize the way these were packaged.  I managed to find the full cxf-bundle-2.2.10 from the maven repository that should meet my needs.

-----Original Message-----
From: David Bosschaert [mailto:david.bosschaert@gmail.com] 
Sent: Thursday, September 16, 2010 3:54 PM
To: users@cxf.apache.org
Subject: Re: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Hi Sven,

CXF-DOSGi is simply using the cxf-bundle-minimal jar provided by the
main CXF project. If you think that the cxf-bundle-minimal should
contain more classes maybe you should file a bug on CXF for this?

Best regards,

David

On 16 September 2010 14:02, Sven Zethelius <sv...@expedia.com> wrote:
> I'm currently working on an OSGI project that uses CXF as a bundle, so we picked up the DOSGI cxf-bundle-minimal-2.2.9.jar.  I've noticed some of the classes and other files that are included in cxf-2.2.9.jar aren't included in the cxf-bundle-minimal-2.2.9.jar.  Of interest to me is the fact that the LocalTransportFactory and ObjectBindingFactory and their related classes are being excluded.  Is there a reason they are excluded from the bundle?  Would it be possible to add them?
>
>
>
>

Re: DOSGI: dependency local transport and object binding not included in cxf-bundle-minimal ?

Posted by David Bosschaert <da...@gmail.com>.
Hi Sven,

CXF-DOSGi is simply using the cxf-bundle-minimal jar provided by the
main CXF project. If you think that the cxf-bundle-minimal should
contain more classes maybe you should file a bug on CXF for this?

Best regards,

David

On 16 September 2010 14:02, Sven Zethelius <sv...@expedia.com> wrote:
> I'm currently working on an OSGI project that uses CXF as a bundle, so we picked up the DOSGI cxf-bundle-minimal-2.2.9.jar.  I've noticed some of the classes and other files that are included in cxf-2.2.9.jar aren't included in the cxf-bundle-minimal-2.2.9.jar.  Of interest to me is the fact that the LocalTransportFactory and ObjectBindingFactory and their related classes are being excluded.  Is there a reason they are excluded from the bundle?  Would it be possible to add them?
>
>
>
>