Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Brendon Woodford
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic