摘要
大量独立的计算机通过网络联系在一起,组成了分布式系统,在这种环境下,合作进程通过消息的传递进行通信需要访问分布在整个网络中的资源,所以一个好的通信机制就显得非常重要。文章主要论述了远程过程调用RPC与远程方法调用RMI的工作机制,基于.Net平台与底层Socket通信协议模拟了RPC与RMI,通过简单的实例形象地展示其工作机制。
Distributed system is formed by a large number of independent computers through the network. A good communication mechanism is very important when cooperation processes access distributed resources through the network. The article discusses the working mechanisms of remote procedure call (RPC) and remote method invocation (RMI), and displays the working mechanisms through a simple example based on the. Net platform and Socket communication protocols.
出处
《电脑与电信》
2012年第3期36-39,共4页
Computer & Telecommunication