Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Application Server

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Could somebody please explain me what an application server is and what a web server is. The differences between these two.
Thanks A Lot
sree.
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, there's a lot of overlap. Most real products have some features of both, so it's no wonder people get confused.
A minimum web server, with no extra features, is a very simple thing indeed. It listens on a port (port 80 by default) and for each request of the form "GET filename HTTP/1.0" returns the file "filename" to the client.
Web servers this simple do exist, but usually they are only tests or example code, or delivered as part of an embedded system. Real "web servers", as used for serving web sites across the world, contain tons of extra features - the ability to run CGI scripts, process POST requests, set cookies, authenticate users, protect directories, show indexes, plug-in modules and so on.
A web server has a very simple definition, an application server is quite the opposite. The exact meaning of the term varies from one person to another. In practice, "application server" seems to be used for any server which can be extended to include logic specific to an application. So Apache and a bundle of CGI scripts could be considered as an "application server".
These days, though, the term "application server" is usually reserved for servers which can be programmed internally (rather than externally with CGI scripts). This includes any server which runs Java Servlets and/or Enterprise Java Beans and/or similar systems for other languages or platforms. Zope, for example is an application server programmed and extended using the Python language.
I hope this has helped.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Frank,
Should we say 'servlet, JSP will only in application server'.
Resin1.1 is a web server right and it executes servlets and JSPs.
 
reply
    Bookmark Topic Watch Topic
  • New Topic