• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebServer & Application Server  RSS feed

 
jaya sudha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the differences between WebServer & Application Server
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A web server serves static web content. An application server is a container for serverside code, i.e. an environment designed to run code which requires common features of an "enterprise" application (clustering, transactions, security etc.)
 
jaya sudha
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul.........
If Possible can u pls tell something elaborated about Application Server ...
means characteristics of an Application Server
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even better, I can point you at some examples and you can read about them yourself: Weblogic, JBoss and WebSphere. Scan the docs. You'll notice the simmilar features quite quickly.
 
PN Kumar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IIS is supposed to be a WebServer - it doesnt contain just "static" content. It makes available an environment for running ASP applications that serves dynamic pages. So the statement that WebServer provided static content may not hold good here.
The difference between a WebServer and AppServer has more to do with the purpose for which each one is used. A WebServer is meant for a certain set of activities whereas AppServer is meant for a different set of activities.It is quite possible to make use of an AppServer to provide static pages - a website with html pages, using an AppServer. But then an AppServer is not meant for such a purpose.
AppServer is meant for business logic processing, has a container in which EJB's can be deployed and provides a host of other facilities such as transaction management, networking, security etc which a WebServer may not provide to the same extent.
If anyone could add on to this......
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, if we're being very pedantic:

IIS is supposed to be a WebServer

it of course isn't a Web Server in the strict sense, MS have just chucked in extra functionality without changing its definition. IIS is closer to an application server than web server. Good old fashioned web servers are for static content.
[ June 22, 2004: Message edited by: Paul Sturrock ]
 
Amit Jaipaul
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web server eg Apache is used to render static content, however if web server has servlet container, then it can render dynamic content also with the help of JSPs.

Application server does work related only to business logic and has nothing to do with the display part of the application. App server also handles services like transactions and security etc.. We use app server mainly in distributed applications
 
narasingarao kommireddi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear sudha,

I agree with all the def that people gave , apart from that there are certain key things which appservers posses.

1. Transaction Management
2. Scalability
3. Security

Webservers (mostly a Httpserver + Servlet Engine) can not scale or provide transaction capability. Smaller applications with lesser user base and lots of GUI can opt for a webserver , but applications which need to do lots of business logic processing, need to cater very high volume of customers/users should be put on a app server.

Hope this info helps
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!