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 —————————————————————————————
一周排行
  • 


    		    16. C#數據結構與算法  隊列
    什么是队列,所谓的队列是队列(Queue)是插入操作限定在表的尾部而其它操作限定在表的头部
  • 因个人站点所在服务器安装了nginx,并没有安装apache,所以想在nginx上实现nagios迁移,那就要实现nginx 下的perl支持,先下载软件 wget http://prdownloads.source
  • 1.rc.loacl的启动 /etc/rc.d/rc.local
  • 1. 简述 private. protected. public. internal 修饰符的访问权限. 答 . private : 私有成员, 在类的内部才可以访问. protected : 保护成员,该类内部和继
  • 南阳 Oj 1 A+B Problem 时间限制:3 ms 内存限制:65535 KB 难度:0描述此题为练手用题,请大家计算一下a+b的值输入输入两个数,a,b输出输出a+b的值样例输入2 3样例输出5 1:无赋值
  • 如何更好地利用Pmd、Findbugs和CheckStyle分析結果
      这里列出了很多Java静态分析工具,每一种工具关注一个特定的能发挥自己特长的领域,我们 ...
  • windows cmd命令显示UTF8设置   在中文Windows系统中,如果一个文本文件是UTF-8编码的,那么在CMD.exe命令行窗口(所谓的DOS窗口)中不能正确显示文件中的内容.在默认情况下,命令行窗口中 ...
  • 问题现象   com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet ...
  • Problem The Spring AOP transaction is not working in following interceptors? <bean id="testAutoProxy ...
  • Form中某些按钮可能调用了Package对表中某些字段进行更新,但是数据库中字段的修改不会马上反映到form的界面上,所以要进行重新查询,但是用户可能使用了查询窗口进行查询之后然后再点击按钮动作,如果简单的使用ex