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
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