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.

 

更多相关文章
  • RPC(Remote Procedure Call Protocol) RPC使用C/S方式,采用http协议,发送请求到服务器,等待服务器返回结果.这个请求包括一个参数集和一个文本集,通常形成"classname.methodname"形式.优点是跨语言跨平台,C端.S端有更大 ...
  • 首先比较下servlet和webservice下 请求: servlet:提供了请求/响应模式,是JAVA的一种规范,只能使用于java上,用来替代早期使用的难懂的CGI,是一种无状态的请求响应,客户端访问一个服务器的url,只需要发送简单的httprequest即可. 规定了四个范围:pageCo ...
  • RESTful SOA與DDD(領域驅動設計)
    视频地址:http://www.infoq.com/presentations/RESTf
  •  http://www.open-open.com/home/space.php?uid=37924&do=blog&id=8974   1.RMI     使用java的程序员,对于RMI(RemoteMethod Invoke,远程方法调用)一定不陌生,在java中,为了在分布式 ...
  • this is a thub here   Spring的Remoting框架 阿里巴巴的dubbo框架 RPC,RMI,JMS,Webservice的区别
  • EDA: EventDriven Architecture事件驅動架構
    EDA: Event-Driven Architecture事件驱动架构 2009-09-
  • Web开发之RSET API
    REST介绍 如果要说什么是REST的话,那最好先从Web(万维网)说起. 什么是Web呢?读者可以查看维基百科的词条(http://zh.wikipedia.org/zh-cn/Web),具体的我就不多说了.总之,Web是我们在互联网上最常用的服务,甚至在某些人的心中,互联网就是Web.当然,We ...
  • http://stackoverflow.com/questions/936197/what-is-the-difference-between-application-server-and-web-server/936257#936257 —————————————————————————————
一周排行