Could you choose Tomcat or Jetty as enterprise web server

Discussions

News: Could you choose Tomcat or Jetty as enterprise web server

  1. The open source Java Application server, Jetty, has released its 7.0 version recently. And you both should know Google choose Jetty over Tomcat for App Engine, So there trigger a big disccuss in Java forum Tomcat and Jetty which is best?

    Tomcat is famous and popluar open source under apache, so it is more disscussed and knowed by Java developer. Jetty has a samll size and flexibility

    you may check out more details Tomcat vs Jetty

    Threaded Messages (11)

  2. wow...proof read[ Go to top ]

    The English in this post is just awful.  

  3. what troubles me more...[ Go to top ]

    is the content and not the language.

  4. And why not Apache Karaf with war feature installed ? :)

    Like this, you can deploy a webapp in an OSGi way (without embedded all dependency). Jetty could be embedded in Karaf in the same way.

    Using Aries in Karaf, you can bring all JEE resources in Karaf, turning it in a veritable lightweight app server.

  5. fluff piece[ Go to top ]

    don't know about others, but this piece is 99% fluff. If you're going to do performance testing, please be more thorough. Running a single set of tests shows a lack of understanding and professionalism. How about running a dozen of tests with different types of workloads and applications. Plenty of past comparisons have done exactly that.

  6. fluff piece[ Go to top ]

    don't know about others, but this piece is 99% fluff.

    Agree, this was just a waste to read. Flawed tests are just worse than no tests at all. And the comparion "matrix" has no substance, just meaningless, general terms. Even the article claims that the test is flawed, so why on earth post it in the first place?

  7. In the first place, should anyone be using Tomcat/ and or Jetty as a web server comes into question. They should be protected behind a httpd, tc/jetty are essentially servlet containers, only.

  8. Tomcat and httpd fronting[ Go to top ]

    Many will front Tomcat with some httpd (apache), but it's not required in the basic stack. Tomcat is very efficient at serving static content, especially if you leverage the native enhancements available in APR. I've read more than one article indicating that fronting Tomcat with apache httpd to serve static content will more often than not leave overall site performance equal or worse (and I have some personal experience indicating this to be true).

    I would say more common is to front with apache for load-balancing, or as a marshalling proxy for mashing together multiple sites and/or platforms (like having some parts JEE and some parts php, not pretty but not uncommon). However, when you grow in traffic to the point of needing 5+ tomcats you'll start to hit performance problems with apache load-balancing and you'll start eyeing beefier balancers (bigip, alteon, arrowhead etc) and dedicated HW SSL accelerators anyway.

  9. Tomcat and httpd fronting[ Go to top ]

    fronting tomcat with httpd is not all about performance. depending on the protocol you use, in the case of apache httpd? -ajp, mod_jk? you should be fronting httpds with proxy servers for caching performance.

    tomcat does not have the security features that come with a seasoned httpd, which is more often the reason why anyone would front tomcat with apache. apache is quicker in response to any threats than tomcat ever would, being a RI (reference implementation) servlet container. ;)

  10.  

    Netiher Tomcat nor Jetty provides Java EE Web Profile features like EJB 3.1 Lite, CDI, Bean Validation etc. You may try SIwpas for getting cool Java EE Web Profile features.

    We have released CR4, download and get try from http://code.google.com/p/siwpas/

    I think that lightweight web profile servers will hit the feature.

  11.  

    Netiher Tomcat nor Jetty provides Java EE Web Profile features like EJB 3.1 Lite, CDI, Bean Validation etc. You may try SIwpas for getting cool Java EE Web Profile features.

    We have released CR4, download and get try from http://code.google.com/p/siwpas/

    I think that lightweight web profile servers will hit the feature.

    Ever heard of Spring ? :) Hopefully this kind of feature has been made available for a long time in Spring and runs without any special effort in Tomcat...

  12. Platform[ Go to top ]

    When I read the article and the authors comments, it is not clear which platform was used. The article claims Linux/Ubuntu but the author claims Vista in his comments. When I pointed this out on the site my comment was quickly removed. Seriously, why not just fix the facts instead?