• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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
 
Whose rules are you playing by? This tiny ad doesn't respect those rules:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic