aspose file tools*
The moose likes Tomcat and the fly likes Difference between web and app server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Difference between web and app server" Watch "Difference between web and app server" New topic
Author

Difference between web and app server

sachin pachpute
Ranch Hand

Joined: Nov 04, 2004
Posts: 38
can anyone tell me what is the differance between web and app server?is tomcat an app server?

thanks in advance.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
gen pichong
Greenhorn

Joined: Apr 28, 2005
Posts: 15
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

....


<a href="http://www.graball.com" target="_blank" rel="nofollow">http://www.graball.com</a> -- A better search interface
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between web and app server
 
Similar Threads
Difference between web server and App server
Share session between web apps
Servlet communication
Web Server, Web Services and App Server
App server and web server