chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: CXFServlet -> CXFNonSpringServlet
Date Sat, 27 Feb 2016 07:10:04 GMT
Hi,

If nobody objects, I'll remove the Spring dependency and go for the 
overridable method.

- Florian


> Hi,
> 
> I see. I'd really like to remove the Spring dependency so I can code
> whichever proposal you prefer. What do you suggest is best? An
> overridable method seems the simplest.
> 
> Florent
> 
> 
> On Wed, Feb 10, 2016 at 10:42 AM, Florian Müller <fmui@apache.org> 
> wrote:
>> Hi Florent,
>> 
>> If we switch from CXFServlet to CXFNonSpringServlet we loose the 
>> simple
>> configuration of interceptors in the cxf-servlet.xml.
>> Interceptors might be required for custom authentication schemes.
>> 
>> I'm fine with that, but then we should provide another 
>> (non-CXF-standard)
>> way to configure interceptors.
>> This could be something simple like a properties file or just a method 
>> that
>> an server implementer can override to add interceptors.
>> 
>> 
>> - Florian
>> 
>> 
>> 
>>> Hi,
>>> 
>>> Is anyone opposed to replacing CXFServlet with CXFNonSpringServlet
>>> (this is the base class for CmisWebServicesServlet)?
>>> 
>>> This avoids having chemistry-opencmis-server-bindings pull the
>>> following dependencies which are really not needed:
>>> aopalliance:aopalliance:jar:1.0
>>> org.springframework:spring-aop:jar:4.1.7.RELEASE
>>> org.springframework:spring-beans:jar:4.1.7.RELEASE
>>> org.springframework:spring-context:jar:4.1.7.RELEASE
>>> org.springframework:spring-core:jar:4.1.7.RELEASE
>>> org.springframework:spring-expression:jar:4.1.7.RELEASE
>>> org.springframework:spring-web:jar:4.1.7.RELEASE
>>> 
>>> Florent

Mime
View raw message