IBM公司ESB、WEBSPHERE、SOA技术交流.ppt
《IBM公司ESB、WEBSPHERE、SOA技术交流.ppt》由会员分享,可在线阅读,更多相关《IBM公司ESB、WEBSPHERE、SOA技术交流.ppt(71页珍藏版)》请在三一办公上搜索。
1、ESB设计与最佳实践,陆正武IBM Certificated SOA A,东风汽车有限公司,2,议程,ESB、SOA与WebSphere的关系什么时候需要用到ESBESB架构标准实践ESB设计原则实践IBM关于建立东风有限统一的ESB的建议方案IBM ESB的独特优势IBM ESB案例分享,ESB、SOA和WebSphere的关系,4,As Patterns Have Evolved,So Has IBM,应用之间点对点的连接实现简单、基本的信息交互和数据传递,传统架构基于消息传递的模式,通过HUB模式实现应用之间的整合很容易管理大量的连接和系统,过渡架构企业应用整合,通过企业服务总线实现服务
2、的整合集中和流程实现 借助标准的接口灵活地连接,实现真正的随需应变,先进构架面向服务体系架构SOA,IT构架的演变 The next stage of integration,5,一种充分利用开放标准,将软件资产展现为服务的结构提供软件资产标准的展现和交互途径在开发其他应用的时候,可以将独立的软件资产封装为一个一个的“积木”更注重应用之间的装配而不是实现细节,什么是SOA?为什么采用SOA?,封装可以实现重用采用独立的实现接口描述,容易整合各种应用由于明确定义了应用系统间的接口,容易实现应用流程模型就象搭积木!,6,关键概念,SOA通过明确的定义和松散藕荷来提升系统间的弹性:Service:服
3、务任何事情都可以是一个服务,一个实现了唯一功能的自包容的实体Service 交互外部用户调用服务服务可以彼此交互,调用操作和交换数据Service交互可以是间接的Service 编排通过调用服务,可以编排实现业务流程Service 发现一个注册的服务可以在构建时或者运行时被发现,7,Service Interaction,企业服务总线(ESB)概念经常用来表示服务互相交互的机制,它提供了通信的基础架构 企业服务总线应当提供:一致的、位置透明的、协议独立的手段来实现交互一致的、位置透明的交互意味服务消费者和提供者之间可以是间接的无论何种通信服务,应提供端到端的连通保证,8,什么是Enterpri
4、se Service Bus?,An Enterprise Service Bus is a core component of a Services Oriented Architecture 它连接和集成企业和组织的IT infrastructure,across many locations,支持不同的transport services,and它可以自动路由消息并且提供系统级的功能,如:消息的格式自动转换,and必须是基于标准的规范,and这些必须是安全的、可靠的,并且在高负荷的情况下可管理,9,ESB应该有哪些服务?,传输服务 安全、可靠的数据传输 永久性/非永久性 同步/异步仲裁服
5、务 路由 格式转换事件服务 事件发现和发布 Publish/Subscribe,An Enterprise Service Bus(ESB)is a flexible connectivity infrastructure for integrating applications and services.,An ESB powers your SOA by reducing the number,size,and complexity of interfaces.,10,业务创新和优化,业务用面板,IT 对流程的支持,SOA 参考架构,11,IBM软件助您实现整合计算,信息,流程,人员,软件
6、资产管理和整合开发平台,12,SOA参考框架下WebSphere产品线,IT 服务管理,业务创新和优化服务,业务应用程序服务,开发服务,合作伙伴服务,应用程序和信息资产,连接性服务,流程服务,信息服务,交互服务,Business Modeler,WebSphere,工具,Rational,BusinessMonitor,WebSphere,Tivoli,工具,Portal,WebSphere,Workplace,IBM,Information Integrator,BI Server Foundation,WebSphere,WebSphere,WebSphere,WebSphere,Appl
7、ication Server,Partner Gateway,MQ,WebSphere,Message Broker,WebSphere,Tivoli,Intelligent Orchestrator,Tivoli,Monitoring,Tivoli,Access Manager,Information Integrator,WebSphere,Business IntegrationAdapters,WebSphere,WebSphere,ESB,WebSphere,Process Server,Integration Developer,WebSphere,DataPower,什么时候需要
8、用 ESB,14,什么时候需要用 ESB,ESB 网关 recommendation DataPower SOA Appliance for any external services to protect against XML threats中介 between non-standards based systems and standards based systems 支持动态更改提供者(routing,replacement,load balancing,protocol changes)Including versioning Minimize changes to request
9、ors支持请求者与提供者之间协议和数据格式不同时的交互Adding new requestors who are not an exact match with providerCommon security,management,monitoring enforcement,15,ESB架构模式核心原则,ESB inter-connects requester and providerInteractions are decoupledSupports key SOA principle separation of concernsESB provides Service Virtualiz
10、ation ofIdentity via routingInteraction via conversionInterface via transformationESB also enables Aspect Oriented ConnectivitySecurity Management LoggingAuditing Described in a whitepaper by Greg Flurryhttp:/,ESB,ESB架构实践,17,1.确定参考架构,ESB涉及多平台,多项目Usually spearheaded by a corporate Architecture team o
11、r Infrastructure teamNeeds participation and agreement from Networking,Security,Application Development,and OperationsA Reference Architecture is a key document and process for securing this agreement across all stakeholders核心架构、设计和管控决策可选的技术路线和设计模式提供常见场景和使用实践,18,定义接口和连接标准,ESB功能全面,大多数企业不会使用到所有功能You n
12、eed to decide what connectivity options to allow both internally and externally确定总线上实现哪些功能及gateways 和 adaptersGateways are access points for bridging on and off the busCan be used as policy enforcement pointsAdapters are mechanisms for bringing information onto or off of the bus确定采用哪种标准路线Emphasize i
13、ndustry standards for external(partner)communication确定所支持的常见数据表示Canonical message formats allow for shared transformation mediations,19,Expanded view of the ESB,20,以ESB为中心的逻辑模型,Outside ESBBusiness Logic(Business Services)ESB does contain integration logic or connectivity logicCriteria:semantics vers
14、us syntax;aspectsLoosely coupled to ESBSecurity and ManagementPolicy Decision Point outside the ESBESB can be Policy Enforcement Point,Tightly coupled to ESBService RegistryRegistry a Policy Decision Point for ESBESB a Policy Enforcement Point for RegistryBut,Registry has a broader scope in SOATooli
15、ng required for ESBDevelopmentAdministrationConfigures ESB via Service Registry,ESB,Management Services,Security,Management,Application Services,Information,Process,Interaction,Access,Business App,Partner,Registry,Development Services,21,2.定义公共术语表,ESB没有统一的术语Vendors and clients are variable in their
16、definition of what is part of the ESB and terminologyIBM has varying terminology in our ESB productsPatterns work has its own terminology 构建ESB/SOA时非常重要的一点就是建立统一的术语表,22,使用规范还是标准?,A specification outlines APIs/data/formats from one or more vendors working togetherProposed by vendors to address a gapO
17、ften supported by some vendors softwareUsually submitted to a standards bodyMore companies get involved,specification changes,sometimes merged with competing specificationsGoes through multiple drafts and reviewsStandard is agreed to by the standards bodys committee members and is declared a version
18、 x standardStandards bodies vary by process,rigor,respect and adoption rateAnd specific standards vary wrt to adoption,23,3.Apply criteria on whether to use a standard or specification,是否很好地描述了我们的需求?标准是否覆盖了我们的需求?是否需要在不同平台上的互操作性和可移植性?采用的到底是标准还是规范,标准和规范的成熟度如何?是否支持所有的供应商平台,版本是否具有连续性?采用的标准是否支持WS-I?我们的供应
19、商是否也支持?是否需要采用最新版本的标准?如果供应商系统不支持现有标准,只支持早期的规范,如何移植?是否可以增加一层标准的API,以保护你的代码?采用的标准和规范是否比我们所需要的更复杂?,24,4.从企业基础架构中分离出业务逻辑,基本设计原则:需要分离考虑:Business logic does not belong in mediationsESB 架构于业务逻辑之上-the business logic may put information into headersExample:business logic determines whether a customer deserves
20、 priority treatment,sets a flag in the header,the ESB routes to highest performing provider分离业务逻辑和应用程序逻辑Use BPEL and choreography for that instead,25,5.采用基于模式的研究方法,Enterprise Integration Patterns(Hohpe)has a set of 60+patterns that cover common messaging and EI situationsIncludes an abstract notatio
21、n for representing the patternsUsing this notation allows you to decide on the content and flow of the mediations without having implementation considerations drive the process帮助实现多个ESB产品之间耦合的配置方便查找应用程序之间的公共部分在大多数ESB工具中容易实现(WMB,WESB,DataPower)Use the IBM Patterns for e-Business to map out your ESB t
22、opologies,26,EIP Patterns Organization,Application,Application,Message,Channel,Routing,Translation,Endpoint,Systems Management,27,The SOA/ESB Design Pattern(P4eB),Demilitarized Zone,Web Services Gateway,Partner Zone,Enterprise Secure Zone,Enterprise Service Bus,Enterprise Service Bus Gateway,Back-en
23、d Resource Gateway,Domain Firewall,Inter-Enterprise Zone,Protocol Firewall,Network Infrastructure,28,6.确定服务提供者查找方法论 ESB 需要提供者的源头,An ESB must send the message to one or more provider endpoints在可选的提供者之间作出选择Options for managing endpoint lookupNot recommendedNo endpoint lookup(fixed addresses)Change end
24、point administratively on the ESB serversProvider must keep track of all ESB servers which can call itIP spraying or load balancing between ESB and providers Limited to IP,providers maybe outside of your domainEndpoint(s)lookup from a registry使用Cache,而不是直接向注册库Providers update the registry with new e
25、ndpointsSeparates ESB from the providers允许无缝增加新的providers 和ESB服务器,29,(6)Message is transformed and routed to the selected endpoint.,Message,(1)A Message is received,ESBMediation,(2)Invokes a selection mediation.,(3)Retrieve requestor information,(4)Retrieves candidate providers information,Message,(
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IBM 公司 ESB WEBSPHERE SOA 技术交流
链接地址:https://www.31ppt.com/p-5030812.html