File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Server and App Server!!!

 
Brian Smith
Ranch Hand
Posts: 232
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
could you please me describe the definition and differences between Web Server and Application Server?
thanks.
 
Claudio Gualberto
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Scott Duncan
Ranch Hand
Posts: 364
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Kaustubh Patil
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic