Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Application Server Vs Web Server

 
Priyakant Charokar
Ranch Hand
Posts: 58
Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me the difference between Application Server and Web server.


Thanks in advance.
 
Wim van Haaren
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Priyakant Charokar:
Please tell me the difference between Application Server and Web server.


A webserver, like the Apache HTTP-server, is a server which can only serve static content like html-pages and images.
There are also servers, 'servlet-containers' like Tomcat, that can serve both static and dynamic content by using JSPs and servlets.
Application servers, finally, consist of three parts: a http-server, a servlet-container and an EJB-container.
 
Abhishek Mahanty
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The key points of difference between a web server (WS ) and application server (AS) are :

1. WS can cater only static resources (for dynamic content generation it delegates requests to auxillary aplications viz. CGI, Servlets etc.)
2. WS handles only HTTP requests. While AS can cater to requests through various other protocols.
3. WS mainly deals with sending HTML as response while AS primarily exposes business logic to various client applications.
4. WS expicilty deals with handling of HTTP requests and sending HTTP response. AS can provide lots of other ancillary services viz. connectio-pooling, transaction handlineg etc.
5. A typical AS usually is composed of a WS, an EJB Container and a Web container.

I think thats pretty much all I can offer.

Abhi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic