我们是否需要安装网络服务器才能让网络服务始终工作? [英] Do we need to install a webserver for a webservice to work, always?

查看:58
本文介绍了我们是否需要安装网络服务器才能让网络服务始终工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将拥有一个软件,该软件将在服务器端为我提供有关移动车辆的信息,我需要根据需要将这些信息传递给客户端计算机.

I will be having a software which will give me information about the moving vehicles on the server side and I need to pass this information to the client computer on demand.

会有一个网站充当服务器,另一个网站充当客户端.客户端网站将要求服务器网站提供数据.

There will be a website which will act like a server and another website will act like a client. The client website will ask for a data from the server website.

从这里:https://stackoverflow.com/a/2849683/462608

由于协议可能不是 HTTP,您可以通过邮件或其他协议提供 Web 服务,并且您不需要为此使用 Web 服务器.

As the protocol may not be HTTP, you may provide WebServices over mail or other protocols, and you do not need a web server for that.

我要求对上述报价进行解释.就我而言,我需要一个网络服务器吗?

I request an explanation on the above quote. In my case will I be needing a webserver?

推荐答案

有一堆网络服务协议,其中一些可能会使用,而一些可能不会使用 http 作为 传输层.当使用 http 时 - 您需要在服务的服务器端有一个网络服务器,以及作为客户端的网络浏览器.如果传输不是http,则需要其他类型的服务器和其他客户端,例如,邮件服务器和邮件客户端,如果通过smtp 运行服务.

There is a bunch of webservice protocols, some of them may use and some may not use http as transport layer. When http is used - you need a webserver on server-side of your service and a webbrowser as a client. If the transport is other than http, you need server of other type, and other client, for example, mail server and mail client in case of running service over smtp.

这篇关于我们是否需要安装网络服务器才能让网络服务始终工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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