Tuesday, February 11

Difference between web server and application server:




Webserver

                  Application Server

1)  Webserver handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP resp, such as sending back an HTML page.
1)      It serves business logic to application programs through any number of protocols.
2)  Contains Web-container.
2)Contains web container and EJB Container.
3)  Web Server serves static HTML pages or gifs, jpegs, etc., and can also run code written in CGI, JSP etc.

3) 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.
4)   Web Server only supports Servlets and JSP.

4) Application Server supports distributed transaction and EJB.
5)      Ex: Apache
5)Ex: Weblogic, Websphere
6)      No Multi-threading
6)Supports Multi-threading
7)     In WL 8.x licence.beafile is present to update the licence,
 7) Where as in WL 9&10 there is no licence.bea file. If we want we can import from oracle site.


No comments:

Post a Comment