Difference between Web and Application Server


Difference between Web and Application Server
BlackBerry App World™ Download the newest applications onto your BlackBerry® smartphone IN.BlackBerry.com/AppWorld Application for your Page Slytab is Free Page Application All is Easy and Quick www.slytab.com/FB-application

New Server Performance Increase Network Performance. Get a Server w/ Intel® Xeon® Processor. sites.google.com/site/oceaninckolka

What is the difference between Web Server and Application server? Muralimk 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. Raghavan alias Saravanan M. 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. An Application server has a 'built-in' web server, in addition to that it supports other modules or features like e-business integration, independent management and security module, portlets etc. Mun Ira A Web Server understands and supports only HTTP protocol whereas an Application Server supports HTTP,TCP/IP and many more protocols. Also many more features such as Caches,Clusters,Load Balancing are there in Application Servers which are not available in Web Servers. We can also Configure Application Servers to work as Web Server. In short, Applicaion Server is a super set of which Web Server is a sub set. You can't run EJB or any business logic in Javawebserver. An application server should have the capability to run business logic in it. That's why we can't say that JWserver a application server. The Web server: A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page. To process a request, a Web server may respond with a static HTML page or image, send a redirect, or delegate the dynamic response generation to some other program such as CGI scripts, JSPs (JavaServer Pages), servlets, ASPs (Active Server Pages), server-side JavaScripts, or some other server-side technology. Whatever their purpose, such server-side programs generate a response, most often in HTML, for viewing in a Web browser.

1 of 3

4/4/2011 11:14 AM

the information is program logic.sap-img. transaction processing. and messaging. In most cases. a Web server. Such application server clients can include GUIs (graphical user interface) running on a PC. While a Web server mainly deals with sending HTML for display in a Web browser. such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Platform. Enterprise Edition) application servers. the Web server simply passes the request to the program best able to handle it. All rights reserved. The server-side program usually provides for itself such functions as transaction processing. Moreover. Since the logic takes the form of data and method calls and not static HTML. the application server manages its own resources. While a Web server may not itself support transactions or database connection pooling.com and the content authors. Sun ONE Web Server. according to our definition. Eg: Apache HTTP Server. database connectivity. The information traveling back and forth between an application server and its client is not restricted to simple display markup. it may employ various strategies for fault tolerance and scalability such as load balancing. caching.. an application server may also employ various scalability and fault-tolerance techniques. and clustering—features oftentimes erroneously assigned as features reserved only for application servers. Like a Web server. Programming. possibly including HTTP. Such gate-keeping duties include security. an application server provides access to business logic for use by client application programs. Do you have a Java Problem? Ask It in The Java Forum Java Books Java Certification. 2 of 3 4/4/2011 11:14 AM .. the server exposes this business logic through a component API. The application program can use this logic just as it would call a method on an object (or a function in the procedural world). When a request comes into the Web server. the client can employ the exposed business logic however it wants. or even other application servers.com/java/difference-between-web-and-application. All product names are trademarks of their respective companies. resource pooling.sap-img.Difference between Web and Application Server http://www. iPlanet Web Server The application server: As for the application server. an application server exposes business logic to client applications through various protocols. Understand that a Web server's delegation model is fairly simple. The Web server doesn't provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. JavaBean and Object Oriented Reference Books Ads by Google Web Server Hosting App 2X Application Server Sun Java Web Server 7 Return to : Java Programming Hints and Tips All the site contents are Copyright © www. and messaging. Instead.

sap-img. Every effort is made to ensure the content integrity.Difference between Web and Application Server http://www. The content on this site may not be reproduced or redistributed without the express written permission of www. Information used on this site is at your own risk.. The site www.sap-img..sap-img.com is not affiliated with or endorsed by any company listed at this site.com/java/difference-between-web-and-application. 3 of 3 4/4/2011 11:14 AM .com or the content authors.