Thursday, September 27, 2007

Difference between Web Server and Application-server application

Web Server
Webserver serves pages for viewing in web browser.Webserver exclusively handles http requests
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
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
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.

Application server
application server provides exposes business logic for client applications through various protocols
Application server serves business logic to application programs through any number of protocols.

Application server is more capable of dynamic behavior than webserver. We can also configure application server to work as a webserver.Simply Application server is a superset of webserver.
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, and 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

3 comments:

Unknown said...

Good one

Unknown said...

Good One

walcotticenogle said...

Las Vegas hotel and casino unveils $330m casino-style
LAS VEGAS (KLAS) — 충청남도 출장마사지 Casino Las Vegas announced a $330 million 김포 출장마사지 expansion project for 구리 출장안마 the former Vegas Hotel 강원도 출장마사지 and 김제 출장샵 Casino.