Difference between Web Server and Application Server



A Server is a central place where information and programs are stored and accessed by applications over the network. Web Server is a server which accepts a request for data and sends the relevant document in return whereas Application Server contains a ejb container component as well to run the enterprise applications.

Following are the important differences between Web Server and Application Server.

Sr. No.KeyWeb ServerApplication Server
1PurposeWeb Server contains Web container only.Application Server contains Web Container plus EJB Container.
2UsefulA web server is good in case of static contents like static html pages.Applcation server is relevant in case of dynamic contents like bank websites.
3Resource ConsumptionWeb server consumes less resources like CPU, Memory etc. as compared to application server.Application server utilizes more resources.
4Target EnvironmentWeb Server provides the runtime environment for web applications.Application server provides the runtime environment for enterprise applications.
5Multithreading supportMultithreading is not supported.Multithreading is supported.
6Protocol(s) supportedWeb Server supports HTTP Protocol.Application Server suppots HTTP as well as RPC/RMI protocols.
7ExampleApache Web Server.Weblogic, JBoss.
raja
Published on 27-Nov-2019 12:04:05
Advertisements