This week's book giveaway is in the JavaScript forum.
We're giving away four copies of JavaScript Promises Essentials and have Rami Sarieddine on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Standalone Tomcat 4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Standalone Tomcat 4.0" Watch "Standalone Tomcat 4.0" New topic
Author

Standalone Tomcat 4.0

lover d'amour
Greenhorn

Joined: Nov 15, 2001
Posts: 1
Hello all,
I want to know if I should use Apache connectors or Tomcat 4.0 as a standalone web server for my website. What are the advantages of installing Apache Web server?
Thanks


Thanks a lot!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

The advantage is that Tomcat does not have to spend time serving static resources, that are more efficiently served by a web server.

Not only does it split the load between two processes, but you are using the appropriate software for each task. Apache serves static content, and Tomcat provides the dynamic.

One thing to check is that Tomcat 4.0 and Apache connectors may not be quite ready for 'prime time'.
Ravi Veera
Ranch Hand

Joined: Jun 23, 2001
Posts: 127
This topic has been discussed on length at the Tomcat user list at apache.org and on the servlet discussion board.
Wether you use Tomcat as a standalone webserver or behind apache depends on several factors.
1. Where is your app being deployed? On the internet or intranet?
If it's on the internet you may be better of running the app behind Apache as it is more thoroughly tested and stable. Apache can definitely handle a lot more hits than Tomcat.
2. Is your site a mixture of JSP's/Perl/Plain HTML/PHP/etc ? Running Apache as a webserver is an automatic choice here because it is built to handle various types of content (Tomcat can handle these too but I would rather use Apache).
3. Is your site solely a collection of JSP/Servlet apps running on the intranet? Here you may be better of running Tomcat as a standalone webserver. This is what I am doing. My site is not a heavy volume site and is going to be used exclusively on the intranet.
4. If you are in the development environment developing JSP's and servlets,it is easier to have just Tomcat running rather than apache+tomcat.
Here's a link to one of the forums.
1. http://www.javaranch.com/ubb/Forum7/HTML/006752.html
Hope this helps
Regards
Ravi
patty cakes
Greenhorn

Joined: Dec 03, 2001
Posts: 1
thanks a lot for the info guys.
Since I don't use other languages than jsp and don't have many html pages on the site, I'll try Tomcat as a Standalone.
Keep you posted
Pat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Standalone Tomcat 4.0