• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

Difference between a Web Server and a Servlet engine

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
These are two other questions I was asked. Please
share your viewpoints.
1. Difference between Web Server and a servlet engine?
2. Difference between App Server and Web Server?
Boney
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) "Web server" vs "Servlet container"
I believe the most common classification is that a web server is an implementation of HTTP compliant server, usually serving static content such as HTML files or GIF/JPEG/PNG images or PDF files. "Web server" is often associated with Apache, not anything related to Java Servlets or the J2EE specification.
A "servlet container" almost always refers to a J2EE-compliant server supporting the Java Servlet specification (and often JSP). I said "almost" because I remember seeing a product, which implements a servlet container for C++ code (with an API similar to javax.servlet.*)...

2) "App server" vs "Web server"
An application server is generally a J2EE application server, hosting applications - business logic. There are application servers for other technology platforms as well but the J2EE application server is by far the most common concept. A web server, as I already mentioned, is a "dumb" server with no business logic.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If app server is a dumb server ,why can't we deploy our components on web server?
please let me know.
Ashish
 
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic