This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Web Server, Application Server... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Web Server, Application Server..." Watch "Web Server, Application Server..." New topic

Web Server, Application Server...

Aqeel Ahmad

Joined: Sep 23, 2000
Posts: 11
Can any body explain what's the difference between HTTP Server, Web Server and Application Server with examples of them. I would be thankful.


Joined: Apr 18, 2000
Posts: 6
You can say application server is a big brother of web server.
Web server supports HTTP protocol where as an application server supports many other protocol's like tcp/ip. Also you can configure the application server to work as a web server.
Marius Holm
Ranch Hand

Joined: Sep 11, 2000
Posts: 84
Hi Aqeel!
To cut the crap, one can say that those are just names.
A server is any device that provides any service, and a device that provides an HTTP service, is commonly called a HTTP-server.
You probably have noted that the web (the www-part of the internet) runs on the HTTP-protocol, so an HTTP-server is just as often (or more often) called a web-server. (It is common on the web to base services also on other protocols than http, for instance ftp and encryption services are much used today. So a server running only http is not a very functional web server, but you can publish web pages with it)
An application server is any server running an application you can connect to from a client, for instance a web server.
Other examples of app servers are database servers, mail and messaging servers and directory servers.
Most servers run more than one type of service, for instance my 'development' server (not called so because it runs development services, but because I try the stuff I develop on it ) runs two different web servers and a database server (App servers).
In addition it also runs file and print services, plus all common TCP/IP services like ping, telnet etc. A server is just another box.
Hope that clears up a bit!

[This message has been edited by Marius Holm (edited February 16, 2001).]
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Aqeel Ahmad

Joined: Sep 23, 2000
Posts: 11
thanks Marius for your detailed reply. So an EJB Server is an Application Server.
Marius Holm
Ranch Hand

Joined: Sep 11, 2000
Posts: 84
That's right!
It is sorta covered in the JavaRanch Style Guide.
subject: Web Server, Application Server...
Similar Threads
Basic Doubt
application server Vs web server
Diff betn web and App server
App Servers and Web Servers
difference bet weblogic & tomcat