Diff. between App and web server

Hello There,I wanted to that what is the key diffrence between application and web server. What are the key advantage of having application server over the conventional web server..Thanks in advanceAshish
[232 byte] By [ASHU] at [2007-11-26 6:53:14]
# 1
Quite a few, but unless you know exactly which appserver and webserver you want to compare it is hard to list all of them. The main difference, however, that is common among any web and app server is that you can deploy an EJB into appserver but not webserver.
olegkst at 2007-7-6 15:22:59 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Actually i want to know that what are the advantage that we can get while having the app server over the web server's.. As i am using tomcat 5.5. is this a web server ? as i know it is basically a servlet container.

I want to compare the existing app server like sun app server, weblogic, websphere etc. and the the appache http web server, tomcat etc.

Actualy i want to know the key diffrences between the web server and app server despite of the vendor's of the web and app server's.

Thanks in advance

Ashish Gupta

ASHU at 2007-7-6 15:22:59 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

Webserver:this can receive only html requests and as well this can only give out html responses.Nothing more than that.

Application server:businees logic resides on the application server.

Application Server is responsible for handling the Business logic

of the system while Web server is responsible to cater to the HTTP requests.

In three tier Architecture

the flow is as follows

[Browser(Client)]> [Web server(http requests)+ application server(Business logic)]>database server

Now if there are heavy transactions on the system then the second Tier is bifurcated which results in the 4 Tier Architecture.

The flow is as follows

[Browser(Client)]> [Web server]>[application server(Business logic)]>database server

an application server provides for the following things

1.session management

2.load balancing

3.thread management

4.security

5.messaging

depending on the configuration of the application server

it can provide one or all of the above features.

in case of a web server,it just serves the requests that it

receives with the appropriate response,with the help of servlets

or other such programs.

Can't we process requets of HTTP protocols in application server

An application server is a generalized server for running more than one applications like EJB, RMI, IIOP, JSP, Servlets, etc.

An web server is for the purpose of processing the requests over the Http proptocols. Can i run an application server without a webserver ...

for example does WebLogic run with out a webserver ?

The webserver is mainly for catering to the http requests and the application server caters to the need of load balancing in case of heavily loaded web applications or where lots of transactions are involved. so the flow will be like the application server is used for load balancing which it does with the support of any webserver.some application servers are having their default webservers for eg. Bluestone has got IIS as its inbuilt webserver.

An Application server is like a superset of Webserver. However, unlike a Webserver, this is a "generalized one"

Webservers are servers which only accept your requests related to Web over HTTP. Whereas Application Servers are bundle of servers which not only transmit your request but also provide other services like messaging, transaction management, mail service etc.,

Example of Webserver - JavaWebServer, jakarta-tomcat

Example of Application Server - IBM Websphere, BEA WebLogic

SPBP at 2007-7-6 15:22:59 > top of Java-index,Application & Integration Servers,Application Servers...