HI Most of the time I read Tomcat is Web-server.. Sometimes I read Tomcat is web-container.. Sometimes I read Apache is web-server.. I am bit puzzled.. Can anybody explain it properly?
Thanks..
It's been several years since I've worked with Tomcat, but I believe I can answer your question. Tomcat is a JSP Servlet Container. It also has a built-in web server. So I think the answer to your question is that Tomcat is both server and container. It may (and I have never done this, but I think I recall reading about it) be possible for Tomcat to run under Apache, and allow Apache to handle all the static HTML pages and such. Apache is a web server, and thus much better at high-volume static page loads and such than Tomcat, which is intended for dynamic pages.