Q.65
What is the distinction between a webserver and an application server?
The primary distinction between a web server and an application server is that a web server can only execute web applications, such as servlets and JSPs, and has just one container, the Web container, that is used to understand and execute web applications. The application server has the ability to run Enterprise applications, i.e. (servlets, jsps, and EJBs)
It consists of two containers:
Web Container (for servlets and jsps interpretation and execution)
Container for EJB (for executing EJBs).
It may execute tasks such as load balancing and transaction demarcation, among others.