Monday, October 24, 2011

Differences Webserver, Servlet Container, Application Server

These are the major differences among the following:

Features

Web-Server

Servlet Container

Application Server

HTTP Server – serves static content including Html pages, images using HTTP Protocol

Y

May include Web-Server/interfaced it with Web-Server/Pluggable. Webserver redirects the HTTP requests to Servlet container

Combination of Web-Server and Servlet Container?

Supports CGI scripts like Perl

Y

N

N

Serves dynamic content using JSPs/Servlets

N

Y

Y

Thread/Connection Pooling/Multi-threading

N

Y

Y

Transaction handling

N

N

Y

Load balancing

Y


Y

Clustering

N

N

Y

Jndi

N

Y

Y

EJB Container

N

N

Y

J2EE Compliance

N

Partially supported

Y

.war installation

N

Y

Y

.ear installation

N

N

Y

Security

N

N

Y

ScalabilityN
N
Y
ReliabilityN
N
Y

Messaging

N

N

Y

Examples

Apache HTTP Server

Tomcat (contains Apache internally)

IBM Websphere, Oracle Weblogic, JBoss

No comments: