3 AnswersNew Answer
Vijayameena Kannan Server vs Web Server 1. Server supports distributed transaction and EJB. While Web Server only supports Servlets and JSP. 2. Server can contain web server in them. most of App server e.g. JBoss or WAS has Servlet and JSP container. 3. Though its not limited to Server but they used to provide services like Connection pooling, Transaction management, messaging, clustering, load balancing and persistence. Now Apache tomcat also provides connection pooling. 4. In terms of logical difference between web server and application server. web server is supposed to provide http protocol level service while application server provides support to web service and expose business level service e.g. EJB. 5. server are more heavy than web server in terms of resource utilization.