To the point of the reader: the Web server is a subset of application servers .
1.WEB Server:
Understanding Web server, first you have to understand what is the Web? Web you can simply understand that the HTML page you see is the data element of the Web, and the applications that process these data elements are called Web servers, such as IIS, Apache. Web server and client to deal with the main information it is: Session, request, response, HTML, JS, CS and so on.
2. Application Server:
Application server such as JSP, processing of non-regular web page (JSP file), he dynamically generated a Web page, the generated Web page is sent to the client (in fact, when the application server finished processing a JSP request and completed JSP generated HTML after its task is finished, The rest is the process of web processing).
Web server connection to Application server:
1.WEB servers are generally generic, and application servers are typically private, such as tomcat processing only Java applications and not working with ASPX or PHP. While Apache is a Web server F (HTTP server), it later connects to the Tomcat application server to support Java.
Focus on common Web server performance comparisons:
Web server vs. Application server (and several common Web server comparisons)