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

Difference between web and app server

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

....
 
reply
    Bookmark Topic Watch Topic
  • New Topic