A Web Server understands and supports only HTTP protocol whereas an Application Server supports HTTP,TCP/IP and many more protocols.Also many more features such as Caches,Clusters,Load Balancing are there in Application Servers which are not available in Web Servers.We can also Configure Application Servers to work as Web Server.In short, Applicaion Server is a super set of which Web Server is a sub set.
-------------------------------------------------------------------------------------------
WebServer just serves HTTP Request,while Application Server consist of Servlet Engine,and serve WebServer.WebServer contains only HTML files and send only HTML file any other file requested which has to be compiled dynamically based on the request,Webserver will get it from Application Server.Application Server consist of Servlet Engine,JVM and other parsers which interpret the required class files and send it to Webserver.
webserver&applicationserver
最新推荐文章于 2024-10-13 21:18:37 发布