cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Tataryn <crai...@tataryn.net>
Subject Re: Discuss: CXFServlet and spring ApplicationContext
Date Tue, 30 Nov 2010 01:03:19 GMT
Actually it's used when you want to have web services reside within a Servlet container. It
might be Spring aware, but should be Spring neutral. (AFAIK)

Craig.

On 2010-11-29, at 6:10 PM, Christian Schneider wrote:

> I am currently trying to dig deeper into the http transport.
> 
> One part of the code that I really don´t like is the CXFServlet. If I understand correctly
it is being used when you want to have a servlet transport together with a spring application
context.
> In the documentation (http://cxf.apache.org/docs/servlet-transport.html) there are two
ways to use it:
> 
> You can either use ContextLoaderListener from spring or let it pull up a new context.
> 
> I don´t know if it is only because of the second option but there is some really ugly
code in there to find or pull up an application context and work directly with it.
> So my point is that we should let spring do this. Can´t we just let spring inject whatever
we need?
> 
> Best regards
> 
> Christian
> 
> -- 
> ----
> http://www.liquid-reality.de
> 


Mime
View raw message