【正文】
的考慮,因為不管有怎樣 的應(yīng)用底層實現(xiàn),只要是 SOA架構(gòu)中的服務(wù),它就一定是基于標(biāo)準(zhǔn)的。 2023 IBM Corporation WebSphere EAI ? ESB就是在 SOA架構(gòu)中實現(xiàn)服務(wù)間智能化集成與管理的中介。 2023 IBM Corporation WebSphere ? ESB 29 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 2023 IBM Corporation WebSphere Managing Multiple ESBs – Federated ESB Topologies WebSphere Services Registry and Repository Tivoli Composite Application Management for SOA ?A single enterprisewide ESB is rarely attainable – most businesses will have multiple ESBs across business units Vendor A Vendor B Business Unit Business Unit Business Unit Corporate Shared Services Federated Security 27 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 ? 如果業(yè)務(wù)合作伙伴的服務(wù)不滿足其服務(wù)級別協(xié)議,該銀行可以通過在 ESB 中修改路由和轉(zhuǎn)換以切換到新的服務(wù)提供者,而不會干擾使用該服務(wù)的客戶端應(yīng)用程序。如果 ESB 可以使用該應(yīng)用程序原先使用的相同 MQ 隊列,則配置也不需要更改??紤]該銀行的 ESB 中的一個能夠完成以下任務(wù)的中介: ? 偵聽 MQ 隊列并將相關(guān)聯(lián)的響應(yīng)發(fā)送到 MQ 隊列 ? 將現(xiàn)有應(yīng)用程序中的文本消息轉(zhuǎn)換為與合作伙伴的信貸審批模式兼容的消息,并執(zhí)行反向轉(zhuǎn)換。該銀行正在自動化其信用檢查流程,并將使用一個業(yè)務(wù)合作伙伴的信貸審批 Web 服務(wù)。 2023 IBM Corporation WebSphere Message Models Mediation Flows Communication Protocols Enterprise Service Bus Interaction Patterns Mediation Patterns Meta models 25 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 article*, are potential Integration Services. ? There are additional established and emerging mediation patterns which also could bee integration services. ? Integration Services implement the same canonical message model and share the mon message semantics. ? Integration Services will not make design time assumptions about sequencing. ? Integration Services should be stateless. ? Some services may persist data. Additional information can be found in reference 4 on chart 31. Protocol switch Transform Enrich Route Distribute Monitor Correlate 23 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 2023 IBM Corporation WebSphere 什么是 SOI ServiceOriented Integration ? 是一個具有服務(wù)提供者 ,服務(wù)請求者 ,服務(wù)描述的架構(gòu)樣式 ? 一系列架構(gòu)原則 ,模式 ,和標(biāo)準(zhǔn) ,模塊性 ,封裝 ,松耦合 ,關(guān)注分離 ,重用 ,組件化 ? 是一編程模式 , ? 標(biāo)準(zhǔn)的 ? 工具化的 ? 技術(shù)的 (Web Service) Application of serviceoriented architecture principles to build a serviceoriented integration layer: Implementing an SOI style integration layer provides a foundation for implementing an SOA. 22 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 20 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。而 EAI的總線,只是一個消息的分發(fā)器。當(dāng)某個應(yīng)用系統(tǒng)進(jìn)行比較大的改動時,則有可能存在對適配器的改造已經(jīng) 不能滿足系統(tǒng)變更需求的情況,此時甚至有可能會牽涉到對 BUS總線的修改,給企業(yè)信息架構(gòu)帶來很大的風(fēng)險??偩€ 是消息流動的通道,捆綁在應(yīng)用軟件端的適配器負(fù)責(zé)將消息在應(yīng)用程序端的格式與符合總線標(biāo)準(zhǔn)的格式之間轉(zhuǎn)換。 ? 在 EAI 的總線架構(gòu)中, EAI為消息傳播提供了一個中央消息主干線 Bus。 2023 IBM Corporation WebSphere EAI without SOI Lower coupling, higher cohesion, and some encapsulation ? Impairs reuse ? Complicates change ? Makes cost per interface more consistent Routing Mapping Translation Augmenting Source Application Target Application Process Logic Business Rules Application Code Interaction Logic 19 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 ? 部件級的重用。 2023 IBM Corporation WebSphere ? EAI without SOI ? EAI的目標(biāo)是支持對現(xiàn)有 IT系統(tǒng)的重新利用,通過 EAI技術(shù)能夠?qū)⒉煌能浖拖到y(tǒng)串聯(lián)起來,延長這些應(yīng)用系統(tǒng)的生命周期。 2023 IBM Corporation WebSphere 整合 (集成 )的發(fā)展 ? Point to Point integration 16 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 14 Discovering the Value of the Advanced Enterprise Service Bus WebSphere Message Broker 169。 ? 需 要注意的是, ESB是一種架構(gòu)模式,不能簡單地等同于特定的技術(shù)或產(chǎn)品,但實現(xiàn) ESB確實需要各種產(chǎn)品在運(yùn)行時和工具方面的支持。這使得服務(wù)請求者不需要關(guān)心服務(wù)提供者的位置和具體 實現(xiàn)技術(shù),雙方在保持接口不變的情況下,各自可以獨(dú)立地演變。 ? ESB所提供的基于標(biāo)準(zhǔn)的連接服務(wù),將應(yīng)用中實現(xiàn)的功能或者數(shù)據(jù)資源, 轉(zhuǎn)化為服務(wù)請求者能以標(biāo)準(zhǔn)的方式來訪問的服務(wù);當(dāng)請求者來請求一個服務(wù)時, ESB中這種中介轉(zhuǎn)化過程可能簡單到什么也沒有,也可能要很復(fù)雜的中介服務(wù)支 持,包括動態(tài)地查找、選擇一個服務(wù),消息的傳遞、路由和轉(zhuǎn)換、協(xié)議的轉(zhuǎn)換。 ? ESB 的基本特征和能力包括:描述服務(wù)的元數(shù)據(jù)和服務(wù)注冊管理;在服務(wù)請求者和提供者之間傳遞數(shù)據(jù)及對這些數(shù)據(jù)進(jìn)行轉(zhuǎn)換的能力,并支持由實踐中總結(jié)出來的一些模 式如同步模式,異步模式等;發(fā)現(xiàn)、路由、匹配和選擇的能力,以支持服務(wù)之間的動態(tài)交互,解耦服務(wù)請求者和服務(wù)提供者