This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes Application Server vs Web Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply locked New topic

Application Server vs Web Server

sagar devanahalli

Joined: Feb 12, 2012
Posts: 4

What is the differnce between Web Server and Application Server?How exactly these two differ from each other?
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

A web server simply hosts and serves up static content, images, stylesheets, javascript, html etc.
These are then processed on the client (the browser).

An application server executes code in response to a user request, such as servlets, jsp page generation etc.

App servers also allow serious business logic processing in an enterprise environment.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

Please SearchFirst. This topic has been asked before and discussed to death.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Application Server vs Web Server
It's not a secret anymore!