Web Server和Application Server之间的区别?

时间:2019-04-11 15:28:43   收藏:0   阅读:586

An "application server" is a fuzzy concept. Really, it just means software that hosts pluggable application code. You could call Apache and Tomcat application servers and not really be wrong. But usually when you say "application server" you mean more than that. For example, a Java application server usually hosts EJBs as well as servlets and JSPs, and it usually has fancy tools for deploying and configuring applications that go way beyond what Apache or Tomcat have.

 

A "Web server" is anything that serves files via the HTTP protocol. You can write a very simple one in Java in a dozen lines of code (a server that serves a single fixed file, for example.) It‘s very easy to write one, so there are many thousands in existence.

链接:https://coderanch.com/t/85182/application-servers/difference-Apache-HTTP-server-Tomcat

原文:https://www.cnblogs.com/my-worldlet/p/10689793.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!