摘要
通过对.NET WCF内部结构与服务特性的分析,提出一套基于.NET Framework WCF服务组件的面向服务SOA中间件设计方案.文章首先从WCF服务的配置与启动方法分析入手,描绘SOA架构设计中WCF客户端/服务器的工作流程并对设计中可能遇到的HTTP服务请求侦听、服务故障侦测与恢复、以及异步业务处理进程的状态同步等问题分别予以了分析,并给出了具体的解决方案.最后,介绍此SOA中间件设计方案的实际应用,并通过实测数据的分析提出不同WCF应用环境可能对SOA中间件性能所带来的影响及相应的优选设计.从本文SOA中间件设计的具体产品应用情况看,该方案是完全可行的.
With analyzing the internal structure and features of.NET WCF component,a service-oriented SOA middleware design solution which is based on.NET Framework WCF component is brought out.Firstly,the configuration and starting way of WCF service are introduced;then the working flow of WCF client and WCF service in this solution is described;and by analyzing the issues in designing the SOA middleware,such as the listening of HTTP request,the probing to service status and faults-restore,and the synchronization to asynchronous business-process processes,etc.And detailed solution to the issues are also given.Lastly,an example of the SOA middleware design in practice is given.And by the analyzing to the test data sampling from the background project,some useful conclusions are brought out for the usage of the SOA middleware design in different WCF working environment.It is verified practically by using the SOA middleware design in one HIS system product that the solution is feasible.
出处
《小型微型计算机系统》
CSCD
北大核心
2010年第12期2359-2364,共6页
Journal of Chinese Computer Systems
基金
国家自然科学基金项目(60904085)资助