cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: How to handle "applications" in OSGi that offer / consume cxf services and want to enforce application level rules
Date Thu, 25 Sep 2014 14:07:42 GMT
On 25.09.2014 12:44, Sergey Beryozkin wrote:
> Hi Christian
> On 25/09/14 08:51, Christian Schneider wrote:
>> Having one servlet per bundle would definately work.
>> I see two problems though:
>> - Each servlet has its own base path where all services reside then. Not
>> necessarily a bad thing but it would limit the freedom of the user to
>> define where his endpoints live.
>> - Added configuration overhead and complexity: Each of the bundles has
>> to be a web application bundle with a web config and servlet definition.
> This is what people do today every day with wars, nothing major and 
> has proven to work

Unfortunately it is not the same as with wars. Outside of OSGi you 
typically have one war per application. So the config effort is only 
once per application.
A typical OSGi application often consists of > 10 bundles (without 
additional dependencies). So instead of one set of configs you have > 
10. So this is considerably more effort.


Christian Schneider

Open Source Architect

View raw message