A web server can accepts http requests and send back a response, without using any EE technology.
An application server is composed by a servlet container and an EJB container, supporting all the EE technologies.
A servlet container can only run servlets and JSPs, whereas a EJB container can run also EJBs. You might use a servlet container alone, like in the case of Tomcat.
The typical configuration is:
Web browser <---> Web server <---> Application server <---> Database server
This is a multi-tier architecture, typically a three tier one:
The middle tier can be divided in:
Copyright © 2013 Welcome to the website of Davis Fiore. All Rights Reserved.