cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Tomcat embedding
Date Tue, 24 Apr 2012 08:35:53 GMT
It could be more easy to leverage the servlet transport (which could be 
used across the web container)
 instead of starting the engine inside the CXF.

On Tue Apr 24 08:44:13 2012, Benson Margulies wrote:
> On Mon, Apr 23, 2012 at 8:09 PM, Glen Mazza<glen.mazza@gmail.com>  wrote:
>> Really?  AFAICT the code I linked to *is* using Tomcat, if perhaps not
>> directly in the manner that you're interested.
>> Glen
>
> Really. Currently, when you just 'launch an endpoint', CXF launches
> Jetty behind your back. I'd love to make it possible for CXF to do the
> same with Tomcat; however, your scheme gets me the same end-user
> benefits for a lot less effort than building a http_tomcat transport
> next to the http_jetty transport.
>
>
>>
>>
>> Benson Margulies wrote
>>>
>>> Glen,
>>>
>>> This is very helpful if I want to cheap out of actually teaching CXF
>>> to embed tomcat as it currently embeds Jetty:-)
>>>
>>> On Mon, Apr 23, 2012 at 1:46 PM, Glen Mazza&lt;glen.mazza@&gt; wrote:
>>>>
>>>> Benson Margulies wrote
>>>>>
>>>>> Last year, I took a look at tomcat as an alternative to Jetty for
>>>>> embedding purposes.
>>>>>
>>>>> I ran aground, I was just too ignorant.
>>>>>
>>>>> Since I seem, again, to be hitting jetty bugs that close 'idle'
>>>>> connections inappropriately, I've got myself interested again.
>>>>>
>>>>> Is anyone who has a grip on server transports willing to help me out?
>>>>>
>>>>
>>>> I had done an example with embedded Tomcat a while back, perhaps it might
>>>> help you:
>>>> http://www.jroller.com/gmazza/entry/junit_web_service_testing#testtc
>>>>
>>>> Glen
>>>>
>>>> --
>>>> View this message in context:
>>>> http://cxf.547215.n5.nabble.com/Tomcat-embedding-tp5659578p5660035.html
>>>> Sent from the cxf-dev mailing list archive at Nabble.com.
>>>
>>
>>
>> --
>> View this message in context: http://cxf.547215.n5.nabble.com/Tomcat-embedding-tp5659578p5660755.html
>> Sent from the cxf-dev mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang


Mime
View raw message