cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to handle "applications" in OSGi that offer / consume cxf services and want to enforce application level rules
Date Wed, 24 Sep 2014 14:12:43 GMT

On Sep 24, 2014, at 9:03 AM, Christian Schneider <chris@die-schneider.net> wrote:

> subsystems is a good idea. Still I think we also need to do changes in CXF.
> For example we would need to find a way to map the cxf servlet to different locations
for each subsystem.

At one point, I turned the servlet into a ServletFilter which could then be stuck on “/“
and each service could be deployed anywhere.   However, the pax-web version in Karaf 2.3 didn’t
really allow registering the filter via whiteboard and I never pursued it much further.  
Might be a good idea to revisit this.


> I also still think it might be intersting to share a cxf bus between bundles to make
it easier to configure common things. Any ideas about this?

This last thing should be possible already.   All the “Bus” objects are registered in
the service registry.   Thus, you should be able to look up a Bus and use that from within
another bundle.

Dan




> 
> Christian
> 
> 
> On 24.09.2014 14:49, David Bosschaert wrote:
>> You could take a look at OSGi subsystems, which is chapter 134 of the
>> OSGi Enterprise R5 specs [1]. The Application and Composite subsystems
>> allow for separation of subsystems (while the Feature subsystem shares
>> everything, just like with Karaf features).
>> 
>> There is an implementation of OSGi subsystems available in Apache
>> Aries. If you want to get that up and running quickly you could take a
>> look at a presentation I did recently [2].
>> 
>> Cheers,
>> 
>> David
>> 
>> [1] http://www.osgi.org/Download/Release5
>> [2] http://adapt.to/2014/en/schedule/using-osgi-subsystems-with-apache-felix.html
>> 
> 
> 
> -- 
> Christian Schneider
> http://www.liquid-reality.de
> 
> Open Source Architect
> http://www.talend.com
> 

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message