rmi rpc restful soa 区别

rmi rpc restful soa 区别

   

rmi vs rpc

   

参考文档:http://stackoverflow.com/questions/2728495/what-is-the-difference-between-java-rmi-and-rpc

RPC is C based, and as such it has structured programming semantics, on the other side, RMI is a Java based technology and it's object oriented.

With RPC you can just call remote functions exported into a server, in RMI you can have references to remote objects and invoke their methods, and also pass and return more remote object references that can be distributed among many JVM instances, so it's much more powerful.

RMI stands out when the need to develop something more complex than a pure client-server architecture arises. It's very easy to spread out objects over a network enabling all the clients to communicate without having to stablish individual connections explicitly.

RMI as the name indicates Remote Method Invoking: it invokes a method or an object. And

RPC it invokes a function.

   

rmi vs restful

参考文档http://blog.csdn.net/shan9liang/article/details/8995023

http://blog.csdn.net/tekkenvs11/article/details/6280896

soap vs rest

   

参考文档:http://stackoverflow.com/questions/19884295/soap-vs-rest-differences

SOAP and REST can't be compared directly, since the first is a protocol (or at least tries to be) and the second is an architectural style. This is probably one of the sources of confusion around it, since people tend to call REST any HTTP API that isn't SOAP.

 

转载于:https://www.cnblogs.com/usual2013blog/p/4076216.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值