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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Brad Neuberg, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to