What is the difference between application server and web server?

前端 未结 27 1930
攒了一身酷
攒了一身酷 2020-11-22 17:03

What is the difference between application server and web server?

27条回答
  •  隐瞒了意图╮
    2020-11-22 17:23

    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...

    AFAIK, ATG Dynamo was one of the very first application server in late 90's (according to the definition above). In early 2000, it was the reign of some proprietary application servers like ColdFusion (CFML AS), BroadVision (Server-side JavaScript AS), etc. But none really survived the Java application server era.

提交回复
热议问题