web-services - Web服务和RPC有什么区别?

标签 web-services rpc

Web 服务现在比远程过程调用更受欢迎。

它们之间的主要区别是什么?

最佳答案

Currently most Web services architectures adopt RPC as their architectural style. But because of the complexity of RPC, there are bottlenecks of RPC-style Web services in Web-scale applications. REST not only can make full use of Web features, but also has the advantage of simplicity. So REST becomes a new alternative to RPC for Web services architecture. In this paper, at first the brief introductions of RPC and REST are provided. Then two kinds of architectural styles are analyzed and compared from the perspectives of scalability, coupling, and security. In the end the development trend of Web services architecture is prospected.

复制自:http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5339611

Web Service a higher level representation of RPC. A web service is a specific implementation of RPC. At its lowest level, all a web service is, is connecting to a socket, using the HTTP protocol to negotiate sending a payload that is executed in a remote space (it may even be on the same computer, for all the consumer knows). All those abstractions are at its core RPC.

复制自:What is the difference between remote procedure call and web service

Further attributes of a Web Service in addition to what Wayne wrote: allows a platform independent way of a RPC, is discoverable and self describing (compare that with a Win32 RPC)

http://savas.me/2005/07/web-services-are-rpc/

关于web-services - Web服务和RPC有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19357298/

相关文章:

java - SOAP/HTTP + WSDL 作为契约。 JAX-WS 怎么样?

java - 在一台计算机上测试大量 Web 服务

web-services - 尖锐的 URL 参数

goRPC newdispatcher 已导入但未使用

java - GWT 2、Spring 3 客户端-服务器通信的良好工作示例/演示

java - 在 SOAP 服务项目内创建文件

web-services - 使用Webservices查找两个邮政编码之间的距离?

c - 如何正确初始化一个字符串,该字符串是 ANSI-C 中 RPC 自动生成结构的字段

node.js - 编写服务端实现RPC客户端Node.js

c - 在 RPCGen 中将字符指针从客户端传递到服务器