Web Server: Serves Content To The Web Using HTTP Protocol. Application Server: Hosts and Exposes Business Logic and Processes
Web Server: Serves Content To The Web Using HTTP Protocol. Application Server: Hosts and Exposes Business Logic and Processes
On a first hand, a web server serves web content (HTML and static content) over the
HTTP protocol. On the other hand, an application server is a container upon which you
can build and expose business logic and processes to client applications through
various protocols including HTTP in a n-tier architecture.
An application server thus offers much more services than an web server which
typically include:
A (proprietary or not) API
Object life cycle management,
State management (session),
Resource management (e.g. connection pools to database),
Load balancing, fail over...