Application Server Vs Web Server
A web server serves pages for viewing in a Web browser, while an application server provides methods that client applications can call. A little more precisely, we say that: A web server exclusively handles HTTP requests, whereas an application server serves business logic to application programs through any number of protocols. Let us discuss on each in more detail The Web server A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page. To process a request, a Web server may respond with a static HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology. Whatever their purpose, such server-side programs generate a response, most often in HTML, for viewing in a Web browser. Understand that a Web se...