aspose file tools*
The moose likes Tomcat and the fly likes tomcat  in real environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat  in real environment" Watch "tomcat  in real environment" New topic
Author

tomcat in real environment

Bala reddy
Greenhorn

Joined: Jan 05, 2005
Posts: 6
is tomcat webserver used in real environment.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This would probably be better asked in the Apache/Tomcat forum but yes.
Weather.com is run on Tomcat.
There are hundreds of other examples out there. I think there is a list on the Tomcat site.
http://jakarta.apache.org/tomcat


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
We're deploying Tomcat to several dozen customers to run an application consisting of several hundred servlets and a similar number of JSPs over the first few months of this year. This is mainly an intranet application but remote use (over the internet) is supported and has been demonstrated to customers by our salesstaff accessing our demo system remotely.
The first 3 customers already are up and running with a smaller application that allows their customers to place orders online.

So yes, Tomcat is being used in production environments.


42
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Our company runs more production Tomcat servers than I can shake a can of tuna at.


Customer surveys are for companies who didn't pay proper attention to begin with.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61430
    
  67

All of my commerical sites run on Tomcat.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
According to my experience, Tomcat is a bit slow if talking about the static contents. But offcourse, if integrated with Apache or someother web server, the performance becomes tremendous.

I usually go along Tomcat/Apache too in production environment.

cheers.
[ January 05, 2005: Message edited by: Adeel Ansari ]
Jim Chrystal
Greenhorn

Joined: Jan 19, 2005
Posts: 6
I disagree about using tomcat and apache. Searching the tomcat mailing archives, many developers feel that the mod_jk/jk2 connectors add more complexity and overhead than is necessary. They recommend using the HTTPConnector rather than Apache if you're using a recent version of Tomcat.

Also, I've found that JK is less than stable on high traffic apache/tomcat installations when tomcat and apache reside on different physical machines.

IMHO

JC
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Both Tomcat and Java have come a long way in terms of performance in the last few years so a lot of the information that you will find on the web, although true at the time it was written, has become obsolete.

Depending on your application, adding Apache/ISS and the necessary connector may make your app less efficient and slower than it would be if you were just running Tomcat as a standalone. If your app contains a lot of static content or if your app has components written in Perl, PHP, or ASP, then it may indeed make sense to use Apache or IIS for everyting but actual JSP/Servlet processing. If, however, your app consists mostly of dynamic pages, and you're almost always passing the requests from a webserver to Tomcat, then Tomcat as a standalone might be more efficient.

If you're not sure, my advice is to build your app with Tomcat as a standalone and load-test/profile it. If performance is an issue, look at all of your options for optimizing. Often the bottle-necks aren't with Tomcat but are with the database connectivity or with the network access. In these cases, the benefits of fronting Tomcat with a webserver won't be noticed anyway.

Even if you get a slight performance boost with a webserver up front, it may not be worth the extra maintenance and debugging overhead required to keep the three components (Tomcat, webserver, connector) up to date and cooperating smoothly.
[ January 20, 2005: Message edited by: Ben Souther ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Hmm, didn't see this post earlier. Yes this question is best asked in the Tomcat forum. I am going to move this thread to the Apache/Tomcat forum.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat in real environment