File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Why is Apache web server and Tomcat are integrated for certain applications?How to integrate them? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Why is Apache web server and Tomcat are integrated for certain applications?How to integrate them?" Watch "Why is Apache web server and Tomcat are integrated for certain applications?How to integrate them?" New topic
Author

Why is Apache web server and Tomcat are integrated for certain applications?How to integrate them?

Brendon Woodford
Ranch Hand

Joined: Jan 22, 2010
Posts: 53
Hi guys Why is Apache web server and Tomcat are integrated for certain applications? We can use Tomcat6 servlet container and use it independently in our application. Then why do we need to integrate it with The Apache Web server? What benefits does it entail?

How to integrate them?

Thanks a lot

Brendon
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
While Tomcat is fine for serving static pages, there's a lot more an Apache httpd can do if used in conjunction with Tomcat - handling SSL termination, providing load balancing, URL rewriting, serving dynamic content in other languages (like PHP) etc. There's a wide range of modules available for httpd that do things Tomcat can't do, or can't do easily.

See http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html for how to set up httpd and Tomcat together.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why is Apache web server and Tomcat are integrated for certain applications?How to integrate them?