What is the difference between application and web server ?

Showing Answers 1 - 14 of 14 Answers

sushil kumar

  • Oct 18th, 2005
 

Difference between AppServer and a Web server
(1) Webserver serves pages for viewing in web browser, application server provides exposes businness logic for client applications through various protocols

(2) Webserver exclusively handles http requests.application server serves bussiness logic to application programs through any number of protocols.

(3) Webserver delegation model is fairly simple,when the request comes into the webserver,it simply passes the request to the program best able to handle it(Server side program). It may not support transactions and database connection pooling.

(4) Application server is more capable of dynamic behaviour than webserver. We can also configure application server to work as a webserver.Simply applic! ation server is a superset of webserver.

satish240

  • Dec 1st, 2005
 

Besides to that answer,

1) Webserver doesn't support EJB's where as APP Server supports EJB's

2) Appserver provides load balancing , Transaction , more security .

3) Examples of Webserver are TOMAT ; Examples of AppServer are WEBLOGIC, WEBSPHERE.

  Was this answer useful?  Yes

Edin

  • Apr 14th, 2006
 

Correction, he ment TOMCAT I guess.

  Was this answer useful?  Yes

bharath reddy

  • Jul 10th, 2006
 

Application server contains dynamic content, web server contains static content .

  Was this answer useful?  Yes

Rams

  • Aug 4th, 2006
 

Webserver Contains handlers for handling static content like html,images, scripts where as application server contains handlers for handling the requests to servlets, jsps i.e dynamic content, it also contains container for EJBs

  Was this answer useful?  Yes

Viswanath Chirravuri

  • Sep 22nd, 2006
 

Basic differences of application server and the web-server are:

Application server has many additional componenets to the web-server like EJB componenet. But web-server has only the Servlet componenet (known as the catalina) and the JSP componenet (known as the Jasper). Application server also has the web-server in it.

Thats why application servers are very costly compared to the web-servers. Few examples of application servers are: Websphere/WebLogic/JBuilder, etc and few examples of Web-servers are: Tomcat, JRunner, etc.

  Was this answer useful?  Yes

Ravinder

  • Nov 1st, 2006
 

-- web server is a part of Application Server.

-- Application server is the superset of web server.

-- web server supports only web applications.

-- Application server supports web, Integrated & as well as distributed   applications.

  Was this answer useful?  Yes

Sujatars

  • Feb 28th, 2007
 

Webserver serves pages for viewing in web browser

Application server provides exposes business logic for client applications through various protocols

Webserver exclusively handles http requests

Application server serves bussiness logic to application programs through any number of protocols.

Webserver delegation model is fairly simple,when the request comes into the webserver,it simply passes the request to the program best able to handle it(Server side program). It may not support transactions and database connection pooling

Application server is more capable of dynamic behaviour than webserver. We can also configure application server to work as a webserver.Simply applic! ation server is a superset of webserver.

Web Server serves static HTML pages or gifs, jpegs, etc., and can also run code written in CGI, JSP etc. A Web server handles the HTTP protocol. Eg of some web server are IIS or apache

An Application Server is used to run business logic or dynamically generated presentation code. It can either be .NET based or J2EE based (BEA WebLogic Server, IBM WebSphere, JBoss).

A J2EE application server runs servlets and JSPs (infact a part of the app server called web container is responsible for running servlets and JSPs) that are used to create HTML pages dynamically. In addition, J2EE application server can run EJBs - which are used to execute business logic.

  Was this answer useful?  Yes

kala.vr

  • Oct 26th, 2007
 

Bascially, the Application server comes into the picture with Client/Server Techonolgy. Where the in one Server the Database and Business logic Resides. But, Due to heavy load on Database with the complicated Business Logic, these two are divided into two Parts. One is called the Application Server which is used to store the Business Logic and another Database Server.

Where as the Webserver, Is used to serve the Dynmaic content with out Business Logic, for example general HTML pages.

WebServer > Mainly static content (HTML)
WebServer with Servlet engine > Static content and servlets
Webserver with JSP engine > Static + servlet+JSP
App server > provides specialised services including all or some of transaction management, connection pooling, object pooling, security and access control.
App server integrated with webserver > All of the above.

  Was this answer useful?  Yes

babuajesh

  • Feb 13th, 2008
 

Correction..........

Application server contains dynamic content, web server contains static content .

WebServer can also handle dynamic contents.....
Apache, TOMCAT etc...using these web severs we can write web application that handle dynamic contetnt..like DB manipulations

  Was this answer useful?  Yes

Sai Divya

  • Feb 19th, 2009
 

Webserver: It handles only HTTP protocols and it servers static HTML or images only.
Above all its delegation model is fairly very simple. It may not support transactions and database connection pooling.

Application server:
The application server exposes business logic for client application s through various protocols.
Application server is more capable of dynamic behaviour than webserver. We can also configure application server to work as a webserver.
Simply application server is a superset of webserver. Application server maintains its resources and
include security, transaction processing, resource pooling, and messaging. Like a Web server, an
application server may also employ various scalability and fault-tolerance technique.

In nutshell an application server serves all services what webserver provides but the converse is not true.

  Was this answer useful?  Yes

mahesh

  • Jan 9th, 2012
 

Web server: It contain static pages or HTTP images only.
App server: It the user requests to servlets, jsps i.e dynamic content, it also contains container for EJBs

  Was this answer useful?  Yes

ks9bp

  • Feb 28th, 2012
 

WEBSEREVER: It will serve only HTTP protocol requests and it will divert the URLs to the application servers. It can serve only static content and is used to display customised error messages.

Application Server: It is the run time environment for JAVA applications. It can serve the requests by HTTP, RMI/IIOP and SOAP protocols. it can serve both static and dynamic contents.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions