You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Adam Fisk <af...@speedymail.org> on 2005/02/10 23:55:57 UTC
coyote standalone?
Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
interested in just plugging in the coyote jar for serving static content
using Jetty, but it appears to have dependencies on the rest of tomcat.
I don't want to use the rest of Tomcat due to size constraints.
Thanks.
-Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Adam Fisk <af...@speedymail.org>.
Wow -- I somehow missed that. I'll definitely check it out.
Congratulations on the release!
-Adam
Brad Neuberg wrote:
> Adam, sounds interesting. Can't wait to see the results. Feel free
> to keep talking with me if you have any more questions or ideas.
>
> By the way, I pushed out a first release of Paper Airplane last
> sunday. Check out the blog post and installation instructions on it
> at
> http://codinginparadise.org/weblog/2005/02/paper-airplane-011-released_06.html.
> It's still quite alpha but functional.
>
> Best,
> Brad
>
> At 04:19 PM 2/10/2005, you wrote:
>
>> Hi Brad-
>>
>> The Jetty ResourceHandler works fine, but it's just a little clunky
>> and unmaintainable. I already adapted their static resource handler
>> to suite my needs, but there are lots of methods that are about 100
>> lines long and things like that. It does things like require a Jetty
>> "Resource" instance that in turn requires an actual java.io.File, a
>> requirement I'd prefer to avoid in certain cases. It works well and
>> passes all my tests for Range requests and everything else with
>> flying colors, but I'm looking for something slightly more elegant.
>> It's also tied to the Jetty code pretty tightly. If I wanted to use
>> it with some other framework, such as Spring, I'd have to refactor it
>> quite a bit to only rely on plain on HttpServletRequests and
>> HttpServletResponses.
>> That's the path I'm currently planning on following, but I'm fishing
>> around for a better solution.
>>
>> This is all to partially to implement my adaptation of your very
>> elegant JXTA, Jetty, and HttpClient integration -- great stuff!!
>>
>> -Adam
>>
>>
>> Brad Neuberg wrote:
>>
>>> Hi Adam. I always get headaches when I got into the Tomcat source
>>> base; its almost too abstract and I can't figure out what does what.
>>> There is a book that is comming out or may already be out that
>>> details Tomcat's internal architecture that I've been meaning to read.
>>>
>>> Why isn't Jetty enough for you?
>>>
>>> Brad
>>>
>>> At 02:55 PM 2/10/2005, you wrote:
>>>
>>>> Can I use Coyote HTTP 1.1 server outside of the rest of tomcat?
>>>> I'm interested in just plugging in the coyote jar for serving
>>>> static content using Jetty, but it appears to have dependencies on
>>>> the rest of tomcat.
>>>> I don't want to use the rest of Tomcat due to size constraints.
>>>>
>>>> Thanks.
>>>>
>>>> -Adam
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>> Brad Neuberg, bkn3@columbia.edu
>>> Senior Software Engineer, Rojo Networks
>>> Weblog: http://www.codinginparadise.org
>>>
>>> =====================================================================
>>>
>>> Check out Rojo, an RSS and Atom news aggregator that I work on.
>>> Visit http://rojo.com for more info. Feel free to ask me for an invite!
>>>
>>> Rojo is Hiring! If you're interested in RSS, Weblogs, Social
>>> Networking, Java, Open Source, etc... then come work with us at Rojo.
>>> If you recommend someone and we hire them you'll get a free iPod!
>>> See http://www.rojonetworks.com/JobsAtRojo.html.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
> Brad Neuberg, bkn3@columbia.edu
> Senior Software Engineer, Rojo Networks
> Weblog: http://www.codinginparadise.org
>
> =====================================================================
>
> Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
> http://rojo.com for more info. Feel free to ask me for an invite!
>
> Rojo is Hiring! If you're interested in RSS, Weblogs, Social
> Networking, Java, Open Source, etc... then come work with us at Rojo.
> If you recommend someone and we hire them you'll get a free iPod! See
> http://www.rojonetworks.com/JobsAtRojo.html.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Brad Neuberg <bk...@columbia.edu>.
Adam, sounds interesting. Can't wait to see the results. Feel free to
keep talking with me if you have any more questions or ideas.
By the way, I pushed out a first release of Paper Airplane last
sunday. Check out the blog post and installation instructions on it at
http://codinginparadise.org/weblog/2005/02/paper-airplane-011-released_06.html.
It's still quite alpha but functional.
Best,
Brad
At 04:19 PM 2/10/2005, you wrote:
>Hi Brad-
>
>The Jetty ResourceHandler works fine, but it's just a little clunky and
>unmaintainable. I already adapted their static resource handler to suite
>my needs, but there are lots of methods that are about 100 lines long and
>things like that. It does things like require a Jetty "Resource" instance
>that in turn requires an actual java.io.File, a requirement I'd prefer to
>avoid in certain cases. It works well and passes all my tests for Range
>requests and everything else with flying colors, but I'm looking for
>something slightly more elegant. It's also tied to the Jetty code pretty
>tightly. If I wanted to use it with some other framework, such as Spring,
>I'd have to refactor it quite a bit to only rely on plain on
>HttpServletRequests and HttpServletResponses.
>That's the path I'm currently planning on following, but I'm fishing
>around for a better solution.
>
>This is all to partially to implement my adaptation of your very elegant
>JXTA, Jetty, and HttpClient integration -- great stuff!!
>
>-Adam
>
>
>Brad Neuberg wrote:
>
>>Hi Adam. I always get headaches when I got into the Tomcat source base;
>>its almost too abstract and I can't figure out what does what.
>>There is a book that is comming out or may already be out that details
>>Tomcat's internal architecture that I've been meaning to read.
>>
>>Why isn't Jetty enough for you?
>>
>>Brad
>>
>>At 02:55 PM 2/10/2005, you wrote:
>>
>>>Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
>>>interested in just plugging in the coyote jar for serving static content
>>>using Jetty, but it appears to have dependencies on the rest of tomcat.
>>>I don't want to use the rest of Tomcat due to size constraints.
>>>
>>>Thanks.
>>>
>>>-Adam
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>Brad Neuberg, bkn3@columbia.edu
>>Senior Software Engineer, Rojo Networks
>>Weblog: http://www.codinginparadise.org
>>
>>=====================================================================
>>
>>Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
>>http://rojo.com for more info. Feel free to ask me for an invite!
>>
>>Rojo is Hiring! If you're interested in RSS, Weblogs, Social Networking,
>>Java, Open Source, etc... then come work with us at Rojo.
>>If you recommend someone and we hire them you'll get a free iPod! See
>>http://www.rojonetworks.com/JobsAtRojo.html.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Brad Neuberg, bkn3@columbia.edu
Senior Software Engineer, Rojo Networks
Weblog: http://www.codinginparadise.org
=====================================================================
Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
http://rojo.com for more info. Feel free to ask me for an invite!
Rojo is Hiring! If you're interested in RSS, Weblogs, Social Networking,
Java, Open Source, etc... then come work with us at Rojo. If you recommend
someone and we hire them you'll get a free iPod! See
http://www.rojonetworks.com/JobsAtRojo.html.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Adam Fisk <af...@speedymail.org>.
Hi Brad-
The Jetty ResourceHandler works fine, but it's just a little clunky and
unmaintainable. I already adapted their static resource handler to
suite my needs, but there are lots of methods that are about 100 lines
long and things like that. It does things like require a Jetty
"Resource" instance that in turn requires an actual java.io.File, a
requirement I'd prefer to avoid in certain cases. It works well and
passes all my tests for Range requests and everything else with flying
colors, but I'm looking for something slightly more elegant. It's also
tied to the Jetty code pretty tightly. If I wanted to use it with some
other framework, such as Spring, I'd have to refactor it quite a bit to
only rely on plain on HttpServletRequests and HttpServletResponses.
That's the path I'm currently planning on following, but I'm fishing
around for a better solution.
This is all to partially to implement my adaptation of your very elegant
JXTA, Jetty, and HttpClient integration -- great stuff!!
-Adam
Brad Neuberg wrote:
> Hi Adam. I always get headaches when I got into the Tomcat source
> base; its almost too abstract and I can't figure out what does what.
> There is a book that is comming out or may already be out that details
> Tomcat's internal architecture that I've been meaning to read.
>
> Why isn't Jetty enough for you?
>
> Brad
>
> At 02:55 PM 2/10/2005, you wrote:
>
>> Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
>> interested in just plugging in the coyote jar for serving static
>> content using Jetty, but it appears to have dependencies on the rest
>> of tomcat.
>> I don't want to use the rest of Tomcat due to size constraints.
>>
>> Thanks.
>>
>> -Adam
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
> Brad Neuberg, bkn3@columbia.edu
> Senior Software Engineer, Rojo Networks
> Weblog: http://www.codinginparadise.org
>
> =====================================================================
>
> Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
> http://rojo.com for more info. Feel free to ask me for an invite!
>
> Rojo is Hiring! If you're interested in RSS, Weblogs, Social
> Networking, Java, Open Source, etc... then come work with us at Rojo.
> If you recommend someone and we hire them you'll get a free iPod! See
> http://www.rojonetworks.com/JobsAtRojo.html.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Brad Neuberg <bk...@columbia.edu>.
Hi Adam. I always get headaches when I got into the Tomcat source base;
its almost too abstract and I can't figure out what does what. There is a
book that is comming out or may already be out that details Tomcat's
internal architecture that I've been meaning to read.
Why isn't Jetty enough for you?
Brad
At 02:55 PM 2/10/2005, you wrote:
>Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
>interested in just plugging in the coyote jar for serving static content
>using Jetty, but it appears to have dependencies on the rest of tomcat.
>I don't want to use the rest of Tomcat due to size constraints.
>
>Thanks.
>
>-Adam
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Brad Neuberg, bkn3@columbia.edu
Senior Software Engineer, Rojo Networks
Weblog: http://www.codinginparadise.org
=====================================================================
Check out Rojo, an RSS and Atom news aggregator that I work on. Visit
http://rojo.com for more info. Feel free to ask me for an invite!
Rojo is Hiring! If you're interested in RSS, Weblogs, Social Networking,
Java, Open Source, etc... then come work with us at Rojo. If you recommend
someone and we hire them you'll get a free iPod! See
http://www.rojonetworks.com/JobsAtRojo.html.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Adam Fisk <af...@speedymail.org>.
Great -- I'll try it. Thanks!
-Adam
Bill Barker wrote:
>"Adam Fisk" <af...@speedymail.org> wrote in message
>news:420BE67D.3060701@speedymail.org...
>
>
>>Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
>>interested in just plugging in the coyote jar for serving static content
>>using Jetty, but it appears to have dependencies on the rest of tomcat. I
>>don't want to use the rest of Tomcat due to size constraints.
>>
>>
>>
>
>Yes. You need to create a Coyote Adapter (org.apache.coyote.Adapter) that
>is responsible for wrapping the Coyote Request & Response and passing them
>off to Jetty.
>
>
>
>>Thanks.
>>
>>-Adam
>>
>>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: coyote standalone?
Posted by Bill Barker <wb...@wilshire.com>.
"Adam Fisk" <af...@speedymail.org> wrote in message
news:420BE67D.3060701@speedymail.org...
> Can I use Coyote HTTP 1.1 server outside of the rest of tomcat? I'm
> interested in just plugging in the coyote jar for serving static content
> using Jetty, but it appears to have dependencies on the rest of tomcat. I
> don't want to use the rest of Tomcat due to size constraints.
>
Yes. You need to create a Coyote Adapter (org.apache.coyote.Adapter) that
is responsible for wrapping the Coyote Request & Response and passing them
off to Jetty.
> Thanks.
>
> -Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org