Wednesday August 15, 2007
Jetty 6.x versus Tomcat 6.x An AppFuse user asks:
Has anyone done any performance benchmarking between Jetty 6.x and Tomcat 6.x to see which one is better for production use in terms of scalability, performance and ease-of-use? I'm gearing towards Jetty 6.1 but want to hear other's opinions first.
I admit, I completely changed the wording in this quote to make it more readable.
Most of the companies I've worked with in recent years have been using Tomcat (very successfully) in production. However, I also know the Contegix and JavaLobby guys continue to swear by Resin for the most part. What's your opinion?
IMHO, I don't think it really matters - they're all good enough for production use. Posted in Java at Aug 15 2007, 09:50:17 AM MDT 6 Comments
Search This Site
Recent Entries
- A Good Friend becomes a DU Hockey Coach
- What's wrong with JSF
- Why such a busy week?
- New Passport in 9 Days
- EhCache Project Busy this Summer
- Spontaneous Stuff Weekend
- Awesome Birthday Present: A Kegerator
- Maven Plugin for Running Integration Tests against Multiple Containers
- Presenting Web Frameworks of the Future Tomorrow in Denver
- My OSCON Aftermath
Posted by Terry C. Martin on August 15, 2007 at 11:55 AM MDT #
Posted by Vic on August 16, 2007 at 07:15 AM MDT #
Posted by SM on August 16, 2007 at 09:17 AM MDT #
Posted by Joe Walker on August 16, 2007 at 04:16 PM MDT #
@joe:
Terrible simple to embed Tomcat:
File CATALINAHOME = new File("./var/catalina"); File WEBAPPS = new File(CATALINAHOME,"webapps"); File ROOT = new File(WEBAPPS, "ROOT"); Embedded server = new Embedded(); server.setCatalinaHome(CATALINAHOME.getAbsolutePath()); Engine engine = server.createEngine(); engine.setDefaultHost("localhost"); Host host = server.createHost("localhost", WEBAPPS.getAbsolutePath()); engine.addChild(host); Context context = server.createContext("", ROOT.getAbsolutePath()); context.setParentClassLoader(Thread.currentThread().getContextClassLoader()); host.addChild(context); server.addEngine(engine); //Http Connector http = server.createConnector("localhost", 8282, false); server.addConnector(http); //Start the server server.start();Pretty easy ;-)
Posted by 209.181.65.238 on August 17, 2007 at 10:17 PM MDT #
Posted by RPR on April 10, 2008 at 04:50 AM MDT #