使用Web服务的每一种主要语言或平台都把与自身相关的特性集合在一个名字下,Java开源开发人员使用Axis,PHP阵营则使用PEAR,而基于微软工具的开发则使用WCF (Windows Communication Foundation).
WCF曾被称为Indigo,实际上不只是一个Web服务项目,它的目的是要把所有的分布式系统技术提供一种保护伞,其核心是一套面向服务的API。
现在,.NET框架是利用微软工具开发应用程序的最先进的方法。它已经为解决一系列C/S交互场景提供了办法。
比如,ASP.NET Web Services(ASMX)提供了通过Web服务开发应用程序接口的最简单的形式,而.NET Remoting则是使.NET和.NET应用程序交互的核心。
但在另一方面,很多系统不是构建得超出了.NET框架上下文的范围,就是得通过其它办法来进行特殊处理。
对于需要Web服务标准支持(WS-*说明书)的那些应用程序,微软则使用了Web Services Enhancements (WSE)。而对于那些遗留系统,经常用到的分布式交互技术则是用于异步通讯的Microsoft Messaging、COM+以及Microsoft's Host Integration Server。
你应该注意到所有这些场景都有一个相同的主题:分布式应用的通信。但是,很显然,每一种技术都用到不同的方法或技术来解决这个问题。而WCF背后的初衷就是针对应用程序中用到的所有通信接口为开发人员提供一步到位的方法。
WCF是对.NET技术的一个补充,而非现在.NET框架的替代品。但当你仔细思考把微软的分布式技术都统一到同一个屋檐下会达到怎样的效果后,你就会 领悟到为什么说WCF/Indigo是简化创建面向服务设计的重要组成部分,以及它为什么是未来微软的操作系统Vista的一个基础。
在使用WCF时,你不仅只需要懂得一种方法就足以把很多应用作为服务暴露出来,而且你还可以用同样的方法来对付当前技术本身的底层细节。
用WCF服务使能化应用程序的真正概念并非与那些用来运行Web服务的概念不同,真正的不同之处我们在下文中会体现出来。
The WCF LOB Adapter SDK is a collection of run-time engine and tools that help adapter developers create service-oriented interfaces to existing LOB systems by using WCF. The goal of the SDK is to facilitate uniform development of reusable, metadata-oriented, WCF-based adapters that enable enterprise applications, databases, and messaging platforms to integrate with each other.
This SDK is based on WCF, and it surfaces an adapter to an LOB system as a WCF binding. For an adapter consumer, the adapter can be accessed like a typical WCF service; the consumer does not have to learn a new programming model. The same adapter developed can be reused in multiple .NET applications including custom .NET applications, Microsoft® BizTalk® Server 2006 R2, Microsoft Office SharePoint® Server 2007 SP1, and Microsoft SQL Server™ Integration Services (SSIS) through adapter developer provided ADO.NET shim. In addition, the adapter provides metadata browse, search, and retrieval functionality for the adapter consumer to selectively generate WCF contracts that reflect live type modeling of the LOB system.
WCF曾被称为Indigo,实际上不只是一个Web服务项目,它的目的是要把所有的分布式系统技术提供一种保护伞,其核心是一套面向服务的API。
现在,.NET框架是利用微软工具开发应用程序的最先进的方法。它已经为解决一系列C/S交互场景提供了办法。
比如,ASP.NET Web Services(ASMX)提供了通过Web服务开发应用程序接口的最简单的形式,而.NET Remoting则是使.NET和.NET应用程序交互的核心。
但在另一方面,很多系统不是构建得超出了.NET框架上下文的范围,就是得通过其它办法来进行特殊处理。
对于需要Web服务标准支持(WS-*说明书)的那些应用程序,微软则使用了Web Services Enhancements (WSE)。而对于那些遗留系统,经常用到的分布式交互技术则是用于异步通讯的Microsoft Messaging、COM+以及Microsoft's Host Integration Server。
你应该注意到所有这些场景都有一个相同的主题:分布式应用的通信。但是,很显然,每一种技术都用到不同的方法或技术来解决这个问题。而WCF背后的初衷就是针对应用程序中用到的所有通信接口为开发人员提供一步到位的方法。
WCF是对.NET技术的一个补充,而非现在.NET框架的替代品。但当你仔细思考把微软的分布式技术都统一到同一个屋檐下会达到怎样的效果后,你就会 领悟到为什么说WCF/Indigo是简化创建面向服务设计的重要组成部分,以及它为什么是未来微软的操作系统Vista的一个基础。
在使用WCF时,你不仅只需要懂得一种方法就足以把很多应用作为服务暴露出来,而且你还可以用同样的方法来对付当前技术本身的底层细节。
用WCF服务使能化应用程序的真正概念并非与那些用来运行Web服务的概念不同,真正的不同之处我们在下文中会体现出来。
The WCF LOB Adapter SDK is a collection of run-time engine and tools that help adapter developers create service-oriented interfaces to existing LOB systems by using WCF. The goal of the SDK is to facilitate uniform development of reusable, metadata-oriented, WCF-based adapters that enable enterprise applications, databases, and messaging platforms to integrate with each other.
This SDK is based on WCF, and it surfaces an adapter to an LOB system as a WCF binding. For an adapter consumer, the adapter can be accessed like a typical WCF service; the consumer does not have to learn a new programming model. The same adapter developed can be reused in multiple .NET applications including custom .NET applications, Microsoft® BizTalk® Server 2006 R2, Microsoft Office SharePoint® Server 2007 SP1, and Microsoft SQL Server™ Integration Services (SSIS) through adapter developer provided ADO.NET shim. In addition, the adapter provides metadata browse, search, and retrieval functionality for the adapter consumer to selectively generate WCF contracts that reflect live type modeling of the LOB system.