Chinaunix首页 | 论坛 | 博客
  • 博客访问: 64614
  • 博文数量: 34
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 360
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-20 10:39
文章分类
文章存档

2010年(3)

2009年(5)

2008年(26)

我的朋友
最近访客

分类:

2008-07-02 12:04:42

about rpc rmi:
   最近看中间件,看得我头都晕了,前人实在是强悍。。。。
   在论坛里找到一句话说:“rmi可以看作是rpc的java版本”。突然觉得自己连rpc真正到底是什么,都没有弄懂。网上的术语实在是太生涩了。无奈,google找国外的技术文章。When the software in question is written using principles, RPC may be referred to as remote invocation or remote method invocation.就像是java(rmi)。
 
  RPC始终是一种协议,如果将其扩大化,就是
   ----百度知道:
      Remote Procedure Call (RPC)调用是WINDOWS使用的一个协议,提供进程间交互通信,允许程序在远程机器上运行任意程序。
      用个简单的说法就是,你的朋友有一台电脑,只要他打开了这一服务,同时满足下面几个条件:你知道他计算机的超级用户的帐号与密码;你知道他的IP地址;你的计算机可以Ping通你朋友的计算机。那么你就可以在你的计算机上完全控制他的计算机了,像操作自己的计算机一样。
 
  An RPC is initiated by the client sending a request message to a known remote server in order to execute a specified procedure using supplied parameters. A response is returned to the client where the application continues along with its process.
                                                          ---foreign web site
 
 
标准的联系机制:(是不是讲RPC服务的呼叫,需要IDL来消除异系统之间的差异。)
Standard contact mechanisms

In order to allow servers to be accessed by differing clients, a number of standardized RPC systems have been created. Most of these use an (IDL) to allow various platforms to call the RPC.

The IDL files can then be used to generate code to interface between the client and server. The most common tool used for this is

 

与RPC相似的

Other RPC analogues

RPC analogues found elsewhere:

  • (Java RMI) API provides similar functionality to standard UNIX RPC methods.
  • is an RPC protocol which uses to encode its calls and as a transport mechanism.
  • offers RPC facilities for distributed systems implemented on the Windows platform.
  • implements RPC mechanisms in Python, with support for asynchronous calls.
  • protocol and framework.
  • , a core file-sharing/ protocol of , is another good example of RPC.
 
也不知道是否理解正确?
   RPC是一种协议,使用RPC协议的服务有不同种。rmi之间的通信就是与rpc类似。rmi与rpc最大的不同在于语言。rmi只能在java中。rpc有多种语言。
  
  EJB就是基于rmi的通信。
 
阅读(1969) | 评论(0) | 转发(0) |
0

上一篇:今天第一次来

下一篇:about EXT

给主人留下些什么吧!~~