tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: A simple question about coyote
Date Thu, 12 Jul 2007 02:01:04 GMT

<newbie_tw@yahoo.com.tw> wrote in message 
news:586136.40601.qm@web72811.mail.tp2.yahoo.com...
>I have a simple question related to the coyote connector.  That is, `Is 
>coyote similar to a composition protocol framework coyote 
>(http://www.cs.arizona.edu/projects/coyote/) does?'
>

The Apache-Tomcat coyote is much more restricted than the arazona.edu 
coyote.  In Tomcat, Coyote is an abstraction of the HTTP/1.1 protocol only, 
that is agnostic to the transport protocol and wire-protocol that is used 
(i.e. it would be in theory possible to write a ProtocolHandler to work over 
FTP using sockets, or to write one that uses JNI or unix-sockets with say 
AJP/1.3 (which actually exist in Tomcat, but aren't really supported)).  So 
as a result, it isn't really suited for things like multicasting.

> I read some document on the internet. For instance, 
> http://www.wellho.net/downloads/A651.pdf illustrates that coyote is a 
> protocol handler, handling web issues.  It seems like they has the same 
> purpose, though one is proposed by the Arizona university, the other by 
> apache.org.
>
> Can I say that coyote (of tomcat) is also a kind of composition protocol 
> framework?
>

No, it isn't a composition protocol framework (but individual implementation 
may be).  It is a very simple framework that is intended to transform some 
protocol's request into an HTTP/1.1 request, and to translate the HTTP/1.1 
reponse back into the same protocol's response.  I'd suggest that you browse 
the javadocs on tomcat.apache.org for the org.apache.coyote package to learn 
more.

>
> Thanks your help,
>
> I appreciate it.
>
>       杜絕網路駭客,保障帳號安全 - 馬上設定 Yahoo!奇摩安全圖章! 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message