Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

clarification regarding apache tomcat

 
anil pamidi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
apache server-->web server which can service static data.
tomcat --> servlet engine/container.
apache tomcat -->web server which can parse servlets and jsp.

This is my perception.Sometimes I get to read apache tomcat as application server.Could anyone please clarify me whether apache tomcat is an application server or webserver?

Thanks in Advance.
Anil
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no difference between Apache Tomcat and Tomcat - they are the same thing. It's both a web server and a servlet container.

Whether it's an application server depends on your definition of "application server". If you mean "serving web-based applications", then it is. If you mean "a server that implements the full J2EE specification", then it isn't.
 
anil pamidi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean to say that as a single entity tomcat can't serve any request.the request should be initiated from the web server.hence tomcat alone can't be termed as a server.and thanks for the clarification regarding the type of server apache tomcat is.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i mean to say that as a single entity tomcat can't serve any request.the request should be initiated from the web server.

Tomcat is a web server. It can serve web requests without needing any other server.
 
anil pamidi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks mate.
 
anil pamidi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf ,

Can you please let me know the necessity of fronting tomcat with IIS web server or Apache web server.I understand from your explanation that Tomcat is servlet container as well as web server.

Anil
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's only necessary if you need features that Tomcat doesn't have, e.g. ASP handling in the case of IIS, and using any of the apache httpd modules.

In the case of Apache httpd, you might also use it as a load balancer or SSL terminator.
 
anil pamidi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Mr Ulf.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"anil4u",
Welcome to the ranch. You may not be aware of the ranch Naming Policy. Please read it carefully and change your name accordingly (you need to set both first and last names). Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic