File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Diffference between Apache & Tomcat

 
Ram Bu
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read online the following differences,

As far as I know, Apache is used for static web pages,
and Tomcat is used for servlets/JSP. You don't really
need Apache since Tomcat also handles html pages, but
Apache does a better job of it.

<li/>For most of the web sites apache is well suited. In addition, with apache
you can build dynamic web sites using CGI scripts or PHP.

<li>Tomcat is dedicated to provide a servlet API and JSP to build web
applications. You can use it alone or bind it with apache.

But, is there any place where I can find more detailed differences between Apache & Tomcat.

Thank you.
R
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache == a community of developers that produce various open source tools and APIs. Find out about them here.

Apache HTTP Server == A web server. Read more about it here.

Apache Tomcat == It is, as you have already found out, a Servlet container. Read more about it here.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ram Bu:
Tomcat also handles html pages, but
Apache does a better job of it.


This is a myth that has not been true for a long time now. Tomcat handles static content just fine.
 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:


This is a myth that has not been true for a long time now. Tomcat handles static content just fine.


In terms of response performance, yes. (My google for metrics only turned up TC4 vs. httpd 1.3 comparisions.) But features I need for static content (such as URL rewriting, header tweaking, etc.) are just not there in TC. I would also be sceptical about scaling but without any numbers to back it up...well, who knows?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic