• 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

Web Server and App Server!!!

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi folks,
could you please me describe the definition and differences between Web Server and Application Server?
thanks.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When we are talking about Java Servlets, Web Server is the Servlet/JSP Container, just like Tomcat , Jetty and so on.
Application Server generally is both Servlet/JSP and EJB Container, just like BEA Weblogic, IBM Websphere, and so on.
There is no phisical separation from Web server and EJB Server on the mostly used servers. Some like JBoss, comes with Web Container embebeded, others no, but you must not to worry about it.
In summary, Tomcat can hold only JSP/Servlet, so it is a Web Server ( Web Container ) , Bea Weblogic can hold both JSP/Servlet and EJB, so it is a Web/Ejb Container or an Application Server.
Claudio Gualberto
SCJP 1.4
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To be a bit more general, a web server handles HTTP requests and does not mean that it runs JSPs and Servlets. Take Apache, IIS, Netscape, etc.
Jakarta Tomcat is an open-source application server that is produced by the Apache Software Foundation. Tomcat is the reference implementation for the Java Servlet and Java Server Pages technologies. For more information, see http://jakarta.apache.org/tomcat.
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sathi,
There is a major thing that seperates web servers from application servers.
Web servers "static" content and app servers serve "dynamic" content (ofcourse they can serve static content also).
By static content I mean is that the server doesn't have to generate the output depending upon the request. just like simple HTML pages.
By dynamic content I mean is that the server is capable of generating dynamic content. i.e. depending on the request it can generate the output. This is basically servlets/jsp.
-Kaustubh.
 
We're being followed by intergalactic spies! Quick! Take this tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic