Web 服务器与应用服务器 [英] Web server vs App server

查看:37
本文介绍了Web 服务器与应用服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用服务器是否类似于 Web 服务器之上的附加应用服务层?

Is an application server something like an additional layer of application servicing above a web server?

应用服务器总是以 Web 服务器为核心吗?

Does an application server always have a web server as its core?

有什么区别?

推荐答案

否,应用服务器不包含网络服务器...

No,Application server does not contain web server...

阅读以下文章...

http://www.answers.com/topic/application-server

http://download.oracle.com/docs/cd/E19159-01/819-3671/ablat/index.html

基本上:

在 1990 年代中期网络爆炸之后,应用服务器变成了基于网络的.

下面还展示了 Web 服务器、Web 容器和应用服务器之间的区别...

Also following shows the difference between web server, web container and application server...

Web 服务器、Web 容器和应用程序服务器之间的区别

Difference between a Web Server, Web Container, and an Application Server

Web 服务器 是能够接收 HTTP 请求、解释它们、处理相应的 HTTP 响应并将它们发送到适当的客户端(Web 浏览器)的服务器.示例:Apache Web 服务器.阅读有关 Web 服务器及其工作的更多信息>>

A Web Server is a server capable of receiving HTTP requests, interpreting them, processing the corresponding HTTP Responses and sending them to the appropriate clients (Web Browsers). Example: Apache Web Server. Read more about Web Servers and their working>>

Web 容器 是符合 J2EE 的实现,它为 Servlet 和 JSP 的运行提供了环境.换句话说,我们可以说 Web Container 是 Servlet Engine 和 JSP Engine 的组合.如果 HTTP 请求引用 Web 组件(通常是 Servlet 或 JSP),则请求被转发到 Web 容器并将请求的结果发送回 Web 服务器,Web 服务器使用该结果准备 HTTP 响应特定的 HTTP 请求.示例:Tomcat 是典型的 Web Container.典型的设置是将 Apache HTTP Server 作为 Web 服务器,将 Tomcat 作为 Web 容器.

A Web Container is a J2EE compliant implementation which provides an environment for the Servlets and JSPs to run. Putting it differently we can say that a Web Container is combination of a Servlet Engine and a JSP Engine. If an HTTP Request refers to a Web Component (typically a Servlet or a JSP) then the request is forwarded to the Web Container and the result of the request is sent back to Web Server, which uses that result to prepare the HTTP Response for the particular HTTP Request. Example: Tomcat is a typical Web Container. A typical setup would be to have Apache HTTP Server as the Web Server and Tomcat as the Web Container.

应用服务器是一个完整的服务器,除了提供 Web 容器的功能以及网络服务器.示例:Bea WebLogic、IBM WebSphere、Oracle应用服务器等

An Application Server is a complete server which provides an environment for running the business components (EJBs, ADF BCs, etc.) in addition to providing the capabilities of a Web Container as well as of a Web Server. Example: Bea WebLogic, IBM WebSphere, Oracle Application Server, etc.

这篇关于Web 服务器与应用服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆