wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes clarification regarding apache tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "clarification regarding apache tomcat" Watch "clarification regarding apache tomcat" New topic
Author

clarification regarding apache tomcat

anil pamidi
Greenhorn

Joined: Apr 09, 2008
Posts: 15
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


The only thing CONSTANT in life is CHANGE.
SCJP 1.4, Preparing for SCWCD 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41591
    
  55
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.


Ping & DNS - my free Android networking tools app
anil pamidi
Greenhorn

Joined: Apr 09, 2008
Posts: 15
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
Marshal

Joined: Mar 22, 2005
Posts: 41591
    
  55
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

Joined: Apr 09, 2008
Posts: 15
Thanks mate.
anil pamidi
Greenhorn

Joined: Apr 09, 2008
Posts: 15
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
Marshal

Joined: Mar 22, 2005
Posts: 41591
    
  55
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

Joined: Apr 09, 2008
Posts: 15
Thank you very much Mr Ulf.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

"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.


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: clarification regarding apache tomcat