Re: coyote standalone?
Adam Fisk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: coyote standalone?
Great -- I'll try it. Thanks! -Adam Bill Barker wrote: Adam Fisk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: coyote standalone?
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]
Re: coyote standalone?
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]
Re: coyote standalone?
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: [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] 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]
Re: coyote standalone?
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: [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] 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]