404c5538e3c9c699e3b67b3a57d80343.ppt
- Количество слайдов: 41
Integrace aplikací, SOA, integration patterns a Biz. Talk Miloš Sobotka Systems Engineer Microsoft Corporation Advanced Technologies 05
Agenda Jak pracuje Biz. Talk 2004 Co je SOA? Integration Patterns SOA Blueprints Je Biz. Talk SOA nástroj? Iniciativy Microsoftu
Jak pracuje Biz. Talk 2004
Biz. Talk Server 2004 Architecture XML, Flat File, Binary, EDI Business Rules Engine Orchestration Receive Port Receive Adapter Human Workflow Services XML, Flat File, Binary, EDI Send Port Group (optional) Send B Biz. Talk Server 2004 Port XML Receive Location Decrypt Parse Resolve Party Serialize Receive Pipeline Tracking Database Send Adapter Sign Encrypt Send Pipeline Message Box B MS SQL Server Database Management Database
Biz. Talk Server 2004 Architecture CICS i. Doc/BAPI XML, Flat File, Binary EDI Business Rules Engine Orchestration Human Workflow Services XML, Flat File, Binary EDI Business Activity Monitoring (optional) Receive Port Send Port Group Real-Time Location and Activity Tracking Receive Health Send Port SAP CICS Receive Send Adapter Cross Application Authentication Adapter • B Enterprise Single Sign-on XML Business Activity Services Receive Pipeline Send Pipeline Trading Partner Management Decrypt Parse Tracking Database Resolve Party Serialize Message Box Database Sign Encrypt Management Database
Co je Service Oriented Architecture ? (synonyma: ESA, . . . )
App Oriented Architecture Well architected 3 -tier application Procurement Application Data Layer Business Layer Presentation Layer User Application UI provides access to applicationmanaged data
App Oriented Architecture Financials Application User manually integrates systems to perform business process, which is slow, costly and error prone Business processes span applications Procurement Application User Applications don’t exist in a vacuum HR Application
Service Oriented Architecture User interface no longer coupled to application data or back end platform Connection between service and UI is loosely coupled and message driven Well architected 3 -tier service Procurement Service Data Layer Business Layer Data and Business Logic abstracted by Web Service Façade Procurement UI Presentation Layer User Web Service Standards enable cross platform communication
Service Oriented Architecture Financials Service Automated business process presented to user as single UI, saving time & money Integrated services can be built different platforms Procurement Services don’t exist in a vacuum either Procurement Process UI Business Process Automation User HR Service Multiple services combined as a single business process
Služba (service) Služba Logika Stav Politika Zpráva
Služby, rozhraní Jednotka softwaru, která implementuje logiku, spravuje stav, komunikuje prostřednictvím zpráv a podléhá určité politice Služba se podobá komponentě nebo objektu Avšak nemá model pro vytváření instancí Službě pošleme zprávu a doufáme, že bude doručena a odpovězena Rozhraní zpřístupňuje funkčnost služby Rozhraní služby definuje, jak mají vypadat zprávy a v jakém pořadí (např. WSDL)
Zprávy Jednotky informací přenášených mezi službami Musí být vysoce strukturované Pro vyjádření struktury slouží schémata zpráv Musí být soběstačné – musí obsahovat přímo data nebo jednoznačné odkazy na všechny nezbytné návazné informace Podporují heterogenní prostředí Umožňují flexibilitu – náhradu služby jinou Dávají možnost technologické volby s každou novou službou Klíčové pro koncept „loose coupling“
Stav Služby spravují stav – stav je důvodem jejich existence Stav je pečlivě chráněn Stav je spravován prostřednictvím obchodní logiky Stav je základním zdrojem informací. Stav přenesený mimo službu nemusí být aktuální Stav je většinou trvalý – uložený v databázi Služby často používají ACID transakce pro udržení konzistence stavu Různé části stavu Permanentní informace Stav procesu Stav zpráv
Komunikace v SOA Služba Podpis Monitorování Šifrování Infrastruktura zpracování zprávy Autorizace Deserializace Trasování Infrastruktura zpracování zprávy Routování Služba Log Serializace Spolehlivé doručení Audit Autentizace
Bez integračního brokeru Šifrování Podpis Šifrování Logování Podpis Šifrování Audit. Podpis Logování Autentizace Audit Logování Autorizace Autentizace Audit Autorizace Autentizace Trasování Autorizace Autentizace Konverze Autorizace formátu Trasování Spolehlivé Trasování doručení Konverze formátu Spolehlivé Trasování Konverze formátu. . . doručení Spolehlivé doručení Konverze formátu. . . Spolehlivé doručení. . . Servi ce Servic e Bus Servi ce
S integračním brokerem Šifrování Podpis Logování Audit Autentizace Autorizace Trasování Konverze formátu Spolehlivé doručení. . . Servi ce Servic e Bus + integ rační brok er Servi ce
Gartner Group „By 2007, service-oriented architecture will be the mainstream software engineering practice, ending the 40 year domination of monolithic applications software applications (0. 7 probability)“
Znamená SOA chaos? Chaos + Order = Chaordic System autonomie služeb zaručuje trvalejší pořádek role UDDI service hell místo dll hell ? možná. . . později Vyšší úroveň pohledu na služby: musí vzniknout nové standardy (WSDL, BPEL, WS*I, workflow standardy, . . . nestačí) další krůček dopředu Pathfinder
Integrační šablony
Co to je? Jedny z mnoha patterns MS Patterns and practices Především se zabývají komunikací mezi systémy (službami) Intuitivně k nim dojdeme opakující se činnosti, procesy metodologie, . . . stavebnice. . . Mají budoucnost Srozumitelnost (rozdělení procesu do několika jednoduchých orchestrací) Dá se předpokládat, že jednou budou standardy
Příklady: Message Channel Aggregator Message Filter
Elementární integration patterns Messaging patterns: http: //www. eaipatterns. com/ má další dělení na podskupiny 65 patterns Integration Patterns with Biz. Talk Server 2004 http: //www. eaipatterns. com/docs/integrationpatterns_biztalk. pdf implementace 5 messaging patterns: service interface, content enricher, recipient list, aggregator, message tranlator http: //www. enterpriseintegrationpatterns. com/downloads. html Visio Stencils Simple Messaging Toolkit 10 of 65 patterns are implemented in C#
Je Biz. Talk nástroj pro realizaci Integration Patterns? cca 50 z 65 patterns nativně podporováno (i několik možností) Zbývající patterns řeší elementární orchestrace
Je Biz. Talk SOA nástroj?
SOA rysy v BTS Orchestrace=proces=služba má všechny rysy služby consumer and provider share schema and transaction = scéhma a korelace Publikace orchestrace jako WS nebo WSE Konzumace webových služeb Napojení na Rules Engine Publish/subscribe architektura Koncepce adaptérů (adapter framework)
Demo Publikace orchestrace jako webová služba Výroba klienta Konzumace webových služeb Nastavení adaptérů (WSSLib, SAP, . . . )
SOA Blueprints
SOA Blueprints Middleware Company Research http: //www. soablueprints. com 3 dokumenty O iniciativě (draft 0. 5 Public Review) SOA Blueprints Concepts (common SOA terms) SOA Blueprints Reference Example Requirements Specification
SOA Blueprints
Například: Employee change a change role
Iniciativy Microsoftu a partnerů SOA Blueprints Patterns and Practices POC Toolkit Interoperability with IBM, BEA, SUN, . . . komunitní weby Got. Dot. Net, Code. Project, . . . hledají se MVP. . Semináře, brožury Indigo
MS SOA Blueprints Technologies Systems HR System Legacy System Payroll System Product System Security System Supply Chain System Task System Implementing Generi. Co required the use of several Microsoft. NET technologies. Since the most prevalent enabler of service orientation is Web services, the part of. NET most in use is ASP. NET. Each of the other technologies listed below fulfills one or more requirements of the specification. ASP. NET 1. 1, BTS 2004, WSS, WSE 2. 0 SP 1, AD, SQL 2000 SP 3, COM Applications Employee Portal HR Application Orchestrations. Design Decisions Employee Reviews (HR System) Expense Reports (HR System) Legacy Role Timer (Security System) Message Broker (HR System) Ke stažení na webu: http: //www. microsoft. com/windowsserversystem/overview/benefits/cstrial. mspx
MS SOA Blueprint Musí se instalovat celé (nebo napojené na jiné „blueprintové služby“). . . trvá 15 minut Modifikuje AD Malé hospodářství Možné úhly pohledu: SOA realizace běžných služeb (schémata) propojení služeb autentizace, práva, role, . . . zabezpečení škálovatelnost „zvykněte si na organizovaný chaos“
Microsoft Pattern and practices Global Bank Integration MSDN - teorie http: //msdn. microsoft. com/library/default. asp? url= /library/en-us/dnpag/html/intpatt. asp Got. Dot. Net - praxe http: //www. gotdotnet. com/workspaces/workspace. aspx? id=a 0053053 -0 ef 0 -49 d 2 -b 73 bf 148 e 654 bb 8 f
Got. Dot. Net Větší stavební bloky (patterns): Synchronous Request Response with Data Aggregation Asynchronous Request Response with Data Aggregation First In First Out Interruptible Business Process Component Retry Biz. Talk Enterprise Patterns: Workspace Home http: //www. gotdotnet. com/workspaces/workspace. aspx? id= 3 ac 7 ecdf-4478 -4 cfc-8966 -029709115 eac Další Got. Dotnet zdroje Bloggers Guide to Biz. Talk (http: //www. gotdotnet. com/workspaces/workspace. aspx? id =0 dfb 4 f 4 e-d 241 -4 bc 8 -8418 -2 c 385 d 8 e 3 eaa)
POC Toolkit (Got. Dot. Net) „Řešení“ z (POC Toolkitu): Inter-Office and Branch Connectivity (EAI) Vendor and Partner Compliance (B 2 B) Customer/Employee Self-Service (B 2 C) Obecnější pattern pro architekty (odhad potřebných zdrojů, odhad času) viz. Biz. Talk Enterprise Patterns http: //www. gotdotnet. com/workspaces/works pace. aspx? id=3 ac 7 ecdf-4478 -4 cfc-8966029709115 eac
MS interoperability with. . http: //www. microsoft. com /windowsserversystem/interop/resources/
Indigo is the kernel of Microsoft’s nextgeneration connected systems platform Unifies all previously distributed technologies Indigo ASMX WSE 2 ES Remoting System. Messaging
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Cross System Workflow SAP Integrated services can be built different platforms Automated business process presented to user as single UI, saving time & money WSS/SPS – Biz. Talk HWS - Outlook – SQL K 2. Net – Teamplate Ultimus Siebel User Business Process Automation Platform Suppliers Multiple services combined as a single business process Advanced Technologies 05
404c5538e3c9c699e3b67b3a57d80343.ppt