|
Web Server
|
Application Server
|
|
Web Server handles only http protocol.
|
Application server handles all protocols (ftp/tcp/ip) including http protocol.
|
|
Web Server mainly deals with request, response i.e. fetch static content from some location.
|
Application server handles request and response including business logic. Mainly for dynamic content.
I.e. Application server = web server + EJBContainer.
|
|
Fetching HTML content, images, send a redirect, files which are physically present at the server location.
|
E.g. Servlet,JSP Applications ,EJB
|
|
Apache
|
Websphere, Tomcat Application server, BEA Web logic.
|
