RPC、RMI、.NET 远程处理、CORBA?
我想知道下面提到的技术是否与其他技术不同或相同?
RPC、RMI、.NET 远程处理、CORBA。
非常感谢。
I wonder if there is any technology from the mentioned below differs from the others or they are the same?
RPC, RMI, .NET remoting, CORBA.
Many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们都大致相同。它们获取以各种形式表示的一点数据,将其打包到网络缓冲区中,通过网络发送,然后将其解包为相同形式的数据。
他们的想法是,它们抽象了任何网络协议知识,因此您可以编码而无需关心网络、套接字等,从而提高您的工作效率。
SOAP 也是 RPC 的一种形式 - 获取数据,将其打包成 XML,通过 http 协议传输它,然后将其解包。
they're all roughly the same. They take a bit of data, expressed in various forms, package it up into a network buffer, send it across the network, and then un-package it into the same form of data.
The idea is that they abstract away any knowledge of network protocols, so you can code without caring to understand networks, sockets, etc, and making you more productive.
SOAP is also a form of RPC - takes data, packages it into XML, transmits it across the http protocol, then un-packages it.
RPC 和 RMI 是支持远程方法调用的框架。它们为您提供足够的帮助来进行远程调用,就像您进行本地调用一样,而不必担心整理参数和结果、传输等的细节。
CORBA 是一个更广泛的框架,此外,它还提供了编程分布式系统时所需的通用设施,例如通知、身份验证、持久性、事务处理、位置服务等
。.NET 远程处理是另一个提供类似功能的现代框架。另请参阅 WCF,它旨在取代 .NET 远程处理。
RPC and RMI are frameworks that enable remote method invocation. They offer you enough help to make remote calls as if you were making local ones, and not worry about details of marshaling the arguments and results, transport etc.
CORBA is a more extensive framework, which, in addition, offers common facilities that you need when programming distributed systems, like notification, authentication, persistence, transaction processing, location services etc.
.NET remoting is another modern framework that offers similar facilities. Also see WCF, which is meant to replace .NET remoting.