File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Diff Btwn Webserver and Application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Diff Btwn Webserver and Application server" Watch "Diff Btwn Webserver and Application server" New topic

Diff Btwn Webserver and Application server

Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
What is the Main Difference Between Webserver (like Tomcat etc..) and
Application Server (like Weblogic and Websphere)..

cant we able to run 3-tier architecture applications using the Web Servers

Ramesh Shanmugam - SCJP 1.5
sunitha reghu
Ranch Hand

Joined: Dec 12, 2002
Posts: 937
Weblogic(application server) contains a webserver. Most of the application servers contains webserver. Tomcat is a appserver.

A Web Server understands and supports only HTTP protocol whereas an Application Server supports HTTP,TCP/IP and many more protocols. Also many more features such as Caches,Clusters,Load Balancing are there in Application Servers which are not available in Web Servers. We can also Configure Application Servers to work as Web Server. In short, Applicaion Server is a super set of which Web Server is a sub set.
[ March 01, 2005: Message edited by: Sunitha Raghu ]
chetak faldesai

Joined: Jun 11, 2003
Posts: 28
Tomcat is not a webserver in true sense, it is a servlet container and hence the capability of serving JSP/Servlets. Apache by itself is a webserver (it can serve html and static stuff ) but cannot serve jsp and servlets.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Tomcat is a appserver.

Why is Tomcat a app server ?

I agree. Here's the link:
subject: Diff Btwn Webserver and Application server
It's not a secret anymore!