服务器和网络服务器 [英] SERVER AND WEBSERVER

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

问题描述

服务器和Web服务器两者相同或存在任何差异.请解释.
服务器和Web服务器都相同或有任何区别.请解释.

解决方案

Web服务器和应用程序服务器之间的基本区别是
Web服务器只能执行Web应用程序,即Servlet和JSP,并且只有一个称为Web容器的容器,用于解释/执行Web应用程序.

应用程序服务器可以执行企业应用程序,即(servlet,jsps和EJB)它具有两个容器1. Web容器(用于解释/执行servlet和jsps)2. EJB容器(用于执行EJB).它可以执行诸如负载平衡,事务划分等之类的操作

阅读更多信息: />

它们是两件事.

Web服务器处理HTTP协议.当Web服务器接收到HTTP请求时,它将以HTTP响应进行响应,例如发送回HTML页面.

应用服务器通过各种协议(例如HTTP,TCP-IP等)向客户端应用程序公开业务逻辑.

请参阅以进行详细比较:应用程序服务器与Web服务器 [ 解决方案

The basic difference between a web server and an application server is
Webserver can execute only web applications i,e servlets and JSPs and has only a single container known as Web container which is used to interpret/execute web applications

Application server can execute Enterprise application, i,e (servlets, jsps, and EJBs) it is having two containers 1. Web Container(for interpreting/executing servlets and jsps) 2. EJB container(for executing EJBs). it can perform operations like load balancing , transaction demarcation etc etc

Read more:
http://wiki.answers.com/Q/What_is_the_difference_between_an_application_server_and_a_web_server#ixzz21EDdqnfk


They are two different things.

A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page.
whereas
An application server exposes business logic to client applications through various protocols like HTTP, TCP-IP etc.

Refer for detailed comparison: Application Server vs Web Server[^]


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

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