Web Service 简记

来源:互联网 发布:阿里云ecs ssh连不上 编辑:程序博客网 时间:2024/06/01 12:32

族谱

[Sun] Remote Procedure Call (RPC) system    --->  [Microsoft] Component Object Model (COM) --->

[Microsoft] Distributed Component Object Model(DCOM)  --->Common Object Request Broker Architecture(CORBA) -->

[Nature...]Web Service

 

Web Service 内容

[协议] XML-RPC --->SOAP

Web Services Description Language(WSDL, 吸收CORBA的IDL) --->

Universal Description Discovery and Integration (UUDI,  to loose coupling)

 

使用Web Service的方式

远程过程调用(RPC)|     面向服务架构(SOA)|    表述性状态转移(REST)

 

 

为什么使用Web Service?

WebService 性能常被诟病,SOAP传输以及XML解析与CORBA或COM的二进制结构相比,的确在速度上没有优势。但是我们有采用WebService的足够理由。

WebService 属于轻量级架构,易于实现,同时又拥有众多的Toolkits.  从实现角度看,比CORBA, COM等要简单多。而且WebService广泛流行,各种标准也在不断更新。

所有主流和常见的编程语言都支持WebService的开发。