Search This Blog

Sunday, 27 March 2016

Differences between webserver and Application Server


Difference between web server and application server:


                      Webserver


1) Webserver handles the HTTP protocol request. 
 When  the Web server receives an HTTP request,
 It responds with an HTTP response, such as 
 sending back an HTML page.

2) Web Server serves static HTML pages or 
  gifs, jpegs, etc., and can also run code written
  in CGI, JSP etc.



3) Web Server only supports Servlets and JSPs.

                                                            
                  Application Server


1) Application Server serves business logic 
   to application programs through any number
   of protocols


2) Application server is more capable of 
  dynamic behavior than webserver. We can
  also configure application server to work
  as a webserver. Simply application server is a 
  superset of webserver.

3)Application Server supports distributed 
   transaction and EJB.

4An Application Server is used to run business  logic or dynamically generated presentation code.
 It can either be .NET based or J2EE based

No comments: