difference between webservers and application server

Posted on 2003-03-06
Medium Priority
Last Modified: 2010-04-20
hi friends,what is the difference between web server and
application server,can some one clear me with examples.
many thanks
Question by:id2215
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 27

Accepted Solution

BigRat earned 100 total points
ID: 8080789
A web server processes HTTP requests and returns data to a browser. An application server process request (not directly from the web) and returns data (not directly to the browser).

The best example is Apache (Web Server) and TomCat (Application Server Framework). In TomCat you need to plug in Application Modules (could be Java Beans for example) to do the application processing.

Apache serves up html pages, jpegs and so on, passes processing requests (from HTML forms) onto TomCat. TomCat processes the data and returns data (often HTML) to Apache which in turn sends it onto the Browser.


Expert Comment

ID: 8086909

Easiest explaine webserver serves webpages.
Webpages is equal to cgi, html, php, asp and so on.

All theese standards are interpreted languages.

An application server on the other hand can run compiled code or if you want REAL applications.
Since an application server can run compiled code this means as programmer you have almost the same possibilities and advantages as if you would like to build an application for Windows usaing Visual C++.

What I mean by almost is that a programmer has to take in acocunt that any result or fomrms need to be presented in HTML format and that the application won't be able to hold a constant connection to the client.

Hope this help you to understand.

/Hans - Erik Skyttberg


Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question