synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@skynet.be>
Subject Comet transport [Was: Re: Deploy Synapse on Tomcat?]
Date Fri, 15 Feb 2008 00:04:43 GMT
Paul,

I looked into it and I think that implementing this should not be too  
difficult. The reason is that a CometProcessor servlet pretty much  
uses the same API as a normal servlet (i.e. HttpServletRequest/ 
Response with Input/OutputStream). The difference is in the way the  
servlet is invoked. Therefore the implementation could reuse a large  
part of the code in the existing AxisServlet. As you know, one can  
reuse code either by copy & paste or introducing appropriate  
abstractions. Since the first alternative is not really an option, we  
would have to refactor some parts of AxisServlet so that it becomes  
reusable for a CometProcessor implementation. Therefore we would need  
somebody who is familiar with the code and who is willing to take the  
responsibility to make the necessary changes (knowing that AxisServlet  
is one of the core components of the framework).

Andreas


On 22 Jan 2008, at 12:05, Paul Fremantle wrote:

> Andreas
>
> Not yet. Tempted to help?
>
> Paul
>
> On 1/22/08, Andreas Veithen <andreas.veithen@skynet.be> wrote:
>> Paul,
>>
>> Are there plans in Axis or Synapse to create a transport that
>> leverages the asynchronous NIO support built into Tomcat 6 (Comet,
>> http://tomcat.apache.org/tomcat-6.0-doc/aio.html)?
>>
>> Andreas
>>
>> Quoting Paul Fremantle <pzfreo@gmail.com>:
>>
>>> Ron
>>>
>>> The data is a bit out-of-date. Basically, we don't recommend using
>>> servlet transports for high-volume situations, tho they are fine for
>>> low-volume (i.e. where the number of concurrent incoming connections
>>> is always less than the thread pool size). However, using the NIO
>>> transport under Tomcat is completely supported and production ready.
>>>
>>> Paul
>>>
>>> On Jan 18, 2008 8:59 PM,  <Ron.Cox@metavante.com> wrote:
>>>>
>>>> I have a Tomcat server in place that has Axis2 deployed on it, as  
>>>> well as a
>>>> few other web applications. Ideally, I'd like to deploy Synapse  
>>>> on that
>>>> same Tomcat server. I've researched it and found mention that  
>>>> deploying
>>>> Synapse on Tomcat is not recommended. Some of those posts were  
>>>> maybe 6
>>>> months old. Is this still the case? That deploying on Tomcat is not
>>>> recommended?
>>>>
>>>> Ron
>>>> ---------------------------------------------------------------------
>>>> This message contains confidential and proprietary information of  
>>>> the
>>>> sender, and is intended only for the person(s) to whom it is  
>>>> addressed.
>>>> Any use, distribution, copying or disclosure by any other person is
>>>> strictly prohibited.  If you have received this message in error,  
>>>> please
>>>> notify the e-mail sender immediately, and delete the original  
>>>> message
>>>> without making a copy.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: synapse-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: synapse-user-help@ws.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Paul Fremantle
>>> Co-Founder and VP of Technical Sales, WSO2
>>> OASIS WS-RX TC Co-chair
>>>
>>> blog: http://pzf.fremantle.org
>>> paul@wso2.com
>>>
>>> "Oxygenating the Web Service Platform", www.wso2.com
>>>
>>
>>
>>
>>
>>
>
>
> -- 
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message