2 posts in topic
Flat View  Flat View

Posted By:   suri_suresh
Posted On:   Wednesday, June 11, 2008 08:55 AM

what is the difference between appserver and webserver.

Re: appserver&webserver

Posted By:   Abhishek_Sharma  
Posted On:   Tuesday, July 29, 2008 06:50 AM

Appserver example

weblogic etc
are the servers which can manage the lifecycle of the app or business logic residing in servlets and Ejbs and supply dynamic contents according to response .

webserver example

are simple programs listening on port 80 to send static html pages to the browser which has requested for the page .

In current scenario these webservers are connected at the backend with appservers and supply the pages .

Re: appserver&webserver

Posted By:   Stephen_McConnell  
Posted On:   Wednesday, June 11, 2008 11:46 AM

Often times in casual conversation, they are used interchangeably. However, a Web Server like Apache is designed and optimized to serve up static Web Pages in HTML. You can use connectors to have it run a CGI script such as Perl, PHP, C/C++ or Java etc. Then, it can become an Application Server (appserver). Some AppServers like Tomcat are designed and optimized to server up JSP/Servlets and what one would call a dynamic Web Application rather than Static HTML. That doesn't mean that they can't serve up static html, but the are not optimized for it.

Hope this helps.

Stephen McConnell

About | Sitemap | Contact