Welcome to MSDN Blogs Sign in | Join | Help

Microsoft BizTalk Server

(Kerrey Zheng's view with BPI Products)
Accelerator vs Adapter

加速器(accelerator)和适配器(adapter)是BizTalk产品的两个重要概念,在官方文档里,对这两个概念的定义如下:

Adapter: A COM or .NET-based component that helps exchange messages between applications (for example, a line-of-business system) and BizTalk Server. The adapter consists of design-time components and run-time components for receive and send operations.

Accelerator: Speed up deployment for a faster systems implementation, improve your return on investment (ROI), and meet the necessary criteria for your specific industry. BizTalk Server accelerators include a combination of:

•  Industry-specific parsers

•  BizTalk XML schemas

•  Implementation guides

•  Orchestration samples

•  Reference materials

上面针对加速器(Accelerator)的定义有些奇怪,事实上,如果你想了解如何开发一个新的加速器,微软内部的人也只会发给你一堆Adapter的开发文档,本文试图从一定程度上阐明这两者的区别。

首先,需要介绍“苏维埃模式”这个名词,“苏维埃模式”就等同于中央集权和寡头统治,在西方,政府很少采用这种模式,但是对于很多民间行业和组织却热衷于这种管理模式,比如银行,医疗,制造业等都会一个“顶级部门”,制定一套强制规范和模式,要求相关企业遵守它制定的标准。这些“顶级部门”一般都会宣称自己是非盈利(Non Profit)的组织。

事实上,适配器(Adapter)更像一个比较复杂的协议转换器(Protocal Converter)。通常适配器是把BizTalk和不支持BizTalk内部协议的传统应用系统连接起来。这样不但BizTalk可以和外部的系统“对话”,还可以进行转换/传输,以及在两种平台类型的的应用系统上构建消息事务处理(Transactions)。

“加速器”(Accelerator)的外延超出适配器很多。加速器只是利用适配器作为低端的数据连接,它更了解外部系统(现有的应用系统):包括标准的消息类型(如某个字段或者如何分割消息实体)以及处理流程。可以说加速器是针对“苏维埃模式”制定的标准打包好的一整套与外部平台进行业务整合的逻辑实体,利用该实体,客户就可以很快的实现其整合目标。

通俗的说:

1,开发一个加速器远比开发一个适配器复杂得多,因为你要更多的关注业务逻辑;

2,加速器通常会比适配器贵US$25,000.

Posted: Monday, June 18, 2007 4:20 PM by Kerrey Zheng

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker