SOA 和Web Service

来源:互联网 发布:电脑怎么设置网络限制 编辑:程序博客网 时间:2024/05/16 19:04

 

1. SOA ≠ Web Services
  • SOA是一种围绕服务(不是Web Service)的技术实现构架、方法、模式
  • SOA可以不依赖于Web Service而存在
  • 没有SOA,Web Service依然能工作得很好
  • 但使用Web Service,可以极大的提高SOA实现能力
 
2.为什么选择Web Service
  • Web Service是标准的
  • 使用Web Service可以大幅度降低构架耦合度
  • 很重要的一点,Web Service是跨平台并且厂商无关的
  • Web Service提供服务层次的集成
  • Web Service相关标准包含有服务的描述、分类等机制
 
3.Web Service相关标准
如上所述,大多是厂商无关的,并且拥有跨平台实现的实例或子标准。
  • UDDI:Universal Description, Discovery, and Integration
  • SOAP:Simple Object Access Protocol
  • WSDL:Web Services Description Language
  • WS-Security
  • WS Remote Portals
  • WS-Reliability
  • WS-Coordination
  • WS-Policy
  • SOAP MTOM: SOAP Message Transmission Optimization Mechanism
  • WSDM::Web Services Distributed Management
  • BPEL: Business Process Execution Language
  • ASAP: Asynchronous Service Access Protocol
 
4.SOA所包含的远比Web Service
SOA包含的很多,所要完成的目标也远比Web Service复杂。一个SOA构架中包括的 远不只是一堆相互协作的Web Service,比如还有SOA Governance和SOA Management。
下面以一个图作为自己对SOA的理解记录:
-end-