This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between web and app server

 
sachin pachpute
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me what is the differance between web and app server?is tomcat an app server?

thanks in advance.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The distinctions are somewhat blurred.

In a nutshell:
A webserver serves up static HTML files.
An appserver runs an application to build the HTML dynamically.

They're blurred because programs that are traditionally referred to as webservers, like Apache HTTPD, can serve up dynamic content via the common gateway interface (CGI), or with modules like mod_php or mod_perl.

Tomcat, which is an app server, can also function as a standalone webserver.
Not all servlet engines can do this. Some will only function behind a webserver.

Under certain circumstances, it makes sense to combine Apache HTTPD and Tomcat. Under this configuration, HTTPD serves up the static content, handles all SSL issues, and passes all servlet/JSP requests to tomcat.

Hope this helps.
 
gen pichong
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search the topic in google will give tons of results. Such as:

http://www.javaworld.com/javaqa/2002-08/01-qa-0823-appvswebserver.html

http://www.jguru.com/faq/view.jsp?EID=282323

....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic