c7298e4c9a8b77cae91f0c831219925d.ppt
- Количество слайдов: 30
® IBM Software Group SOA – Implementing Services and Solutions Dr. Donald F. Ferguson IBM Fellow, SWG Chief Architect, dff@us. ibm. com busapest 19 -Mar-18 © 2006 IBM Corporation
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Agenda § Introduction 4 A sample business problem 4 SOA and Web services 4 Context and major trends § § Business Process/Performance Management Summary, Discussion and Challenges, and “A Grand Challenge!” budapest 19 -Mar-18 2
IBM Software Group © 2006 IBM Corporation SOA -Implementing Services and Solutions Example: Complexity is Forcing Change Mainframe PC/NT apps Unix apps 3 rd Party Interface AIS Reports Budget Analysis Tool AIS Calendar Due Dates General Maintenance Broadcast Filter Stores & Mrkts Depository Banks Vendor Setup Vendor Maintenance Insertions Orders Invoice App Process Servers (Imaging) Printer Maintenance NEW Soundscan NPD Group AIG Warranty Guard Mesa Data S 20 -Sales Polling Printer PO I 13 - Auto Replenishment I 06 - Customer Order S 01 - Sales Corrections I 17 Customer Perceived In-Stock UAR - Universal Account Reconciliation Sterling VAN Mailbox (Value) Roadshow I 15 Hand Scan Apps I 06 Warehouse Management Print Costing E 13 E 3 Interface Fringe PO Smart Plus M 03 - Millennium 3. 0 Smart Plus Launcher S 04 - Sales Posting P 16 - Tally Sheet S 07 - Cell Phones M 02 - Millennium I 03 Return to Vendor D 01 Post Load Billing S 06 - Credit App Equifax Stock Options P 15 EES Employee Change Notice L 02 -Resource Scheduling (Campbell) I 12 Entertainment Software A 04 - Cust Refund Chks E 01 -EDI P 14 On-line New Hire Entry Resumix Cobra CTS Frick Co ACH V 02 -Price Marketing Support CTO 2. Bestbuy. com V 04 -Sign System Prodigy Banks - ACH and Pos to Pay I 10 Cycle Physical Inventory I 04 Home Deliveries U 18 - CTO I 02 Transfers B 01 - Stock Status Spec Source SKU Tracking Intercept E 02 -Employee Purchase S 08 - Vertex Sales Tax I 11 Price Testing I 09 Cycle Counts Scorecard - HR I 01 PO Receiving V 03 - Mkt Reactions S 03 -Polling I 35 - CEI K 02 Customer Repair Tracking I 18 SKU Rep U 16 -Texlon Ad Expense Store Scorecard NARM Merch Mngr Approval Batch Forcasting Ad Measurement AIMS Admin Store Budget Reporting Valley Media BMP - Bus performance Mngt EDI Coordinator AIMS Journal Entry Tool Kit A 05 - AP Cellular Rollover AIMS Reporting Ad Launcher I 14 Count Corrections B 02 Merchandise Analysis Copy. Writer's Workspace S 05 - House Charges Optika PSP Data Warehouse (Interfaces to and from the Data Warehouse are not displayed on this diagram) Arthur Planning I 07 Purchase Order G 02 - General Ledger Sign System Texlon 3. 5 SKU Selection Tool I 35 Early Warning System I 55 SKU Information ELT Power. Suite SKU Performance L 60 MDF Coop I 05 Inventory Info V 01 -Price Management System ASIS Rebate Transfer X 92 -X 96 Host to AS 400 Communication Supplier Compliance S 02 Layaways NPD, Sound. Scan Spec Source P 09 Bonus/HR Washington, RGIS, Ntl Bus Systems S 11 - ISP Tracking POS Plan Administrators (401 K, PCS, Life, Unicare, Solomon Smith Barney) Store Monitor L 01 -Promo Analysis 1 AAS P 01 Employee Masterfile P 09 - P 17 Cyborg S 09 - Digital Satellite System C 02 - Capital Projects US Bank Recon File Connect 3 ICMS Credit Site. Seer In-Home Repair Warranty Billing System OTHER APPS - PC AP - Collections/Credit TM - Credit Card DB F 06 - Fixed Assets Star Repair Connect 3 PDF Transfe Connect 3 Reports Cash Over/ Short Cash Receipts/Credit Misc Accounting/Finance Apps - PC/NT COBA (Corp office Budget Assistant) PCBS(Profit Center Budget System) Merchandising Budget INVENTORY CONTROL APPS - PC Code Alarm Debit Receivings Devo Sales Display Inventory In Home Junkouts Merchandise Withdrawal Promo Credits RTV Accrual Shrink AP Research - Inv Cntrl AP Research-Addl Rpts Book to Perpetual Inventory Close Out Reporting Computer Intelligence Data Count Corrections Cross Ref for VCB Dnlds Damage Write Off Debit Receivings DFI Vendor Database Display Inventory Reconcile Display Inventory Reporting INVENTORY CONTROL APPS - PC DPI/CPI IC Batching Inventory Adj/Count Correct Inventory Control Reports Inventory Levels Inventory Roll Merchandise Withdrawal Open Receivings PI Count Results PI Time Results from Inv Price Protection Sales Flash Reporting Shrink Reporting SKU Gross Margin SKU Shrink Level Detail USM VCB Downloads ACCTS REC APPS - PC 990 COR Bad Debt Beneficial Fees Beneficial Reconcile JEAXF JEBFA JEBKA JEDVA JESOA JEVSF NSF Tele. Credit Fees Prepared by Michelle Mills Actual Application Architecture for Consumer Electronics Company budapest 19 -Mar-18 3
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation A Sample Business Problem – HW PO/Supply Chain Manual Entry and Tracking Manufacturing Warehouse Customer POs for PCs, SAN, … Assembly Customer System Shipping Warehouse/ Staging budapest 19 -Mar-18 4
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation What is …. . ? Actually a set of reusable operations … a service? … service orientation? A repeatable business task – e. g. , check customer credit; open new account A way of integrating your business as linked services and the outcomes that they bring … service oriented architecture (SOA)? … a composite application? An IT architectural style that supports service orientation A set of related & integrated services that support a business process built on an SOA budapest 19 -Mar-18 5
IBM Software Group SOA -Implementing Services and Solutions What’s this “Service Thing? ” Resource optimizations algs. Message M 1, M 2, … … Simulation, NIC, Data intensive, … Op 1, in. Msg 1, out. Msg 1, fault. Msg 1 WSDL © 2006 IBM Corporation “That’s my simul. package!” Op 2, in. Msg 2, out. Msg 2, fault. Msg 2 ……… EJBs IMS ERP, CRM, … CICS “. NET. I like it. ” budapest 19 -Mar-18 6
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation SOA and Web Services § SOA is an architectural style following some principles 4 Input and output messages completely describe behavior No private signaling or shared data. 4 Coarse grain interactions, unlike OO. 4 Self-describing, cataloged, well-defined messages 4 etc. § SOA “resonates” because many customers have been doing it for years. SOA codifies a set of best practices for 4 Message Driven Processing (MQ). 4 Session. Beans and the Transfer Object Pattern 4 CICS TP Systems 4… … § Web Services are a set of standards for SOA 4 Enable interoperability between infrastructure (middleware), and between different development tools. 4 Eliminates the need to integrate the infrastructure before integrating business logic to form new, composite applications. 4 SOAP/HTTP 4 WSDL, WS-Policy, specific policy assertions, BPEL 4 WS 4 Like “Diplomatic French” or “Esperanto” budapest 19 -Mar-18 7
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Some Challenges and Trends § Challenges 4 Seams between § “people activities, ” “information integrated” and “automated SOA activities” § Choice may change in a solution over time 4 Reusable solution templates with customization/configuration. 4 Policy and rules 4 Information – § Processes are a mix of “documents, ” “people” and choreography. § Rich information model – PO, Customer, … … 4 Legacy integration 4 Federated/decentralized control and goals 4 Service identification, factoring, etc § Some trends 4 SOA and Web services, obviously. 4 Improved but fragmented formal modeling standards 4 Coming together of IT processes and business processes (MUWS) 4 Coherent models for EDA and {BPM, EAI} 4 Domain standards 4 Governance. budapest 19 -Mar-18 8
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Business Process and Performance Management: Model – Assemble – Deploy – Manage/Monitor § Discover § Construct & Test § Compose This presentations focus § Gather requirements § Model & Simulate § Design § A “better napkin” § Financial transparency § Business/IT alignment § Process control § Charge back § Who saw what and did what for whom? Covered a little. § Integrate people § Integrate processes § Manage and integrate information A little. § Manage applications & services § Manage identity & compliance § Monitor business metrics budapest 19 -Mar-18 9
IBM Software Group SOA -Implementing Services and Solutions Modeling © 2006 IBM Corporation Business Objects (Logical Data Model) Process Model Content/Docs Process and Data States KPIs Scores Policy/Reqs xxx MUST yyy zzz CANNOT qqq Messages Organization budapest 19 -Mar-18 10
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Model § BPM is more than process Business Objects, Content Model (e. g. scans) Business and object state Organization (people) Interaction Model in “business user” Policy terms and concepts, not Key Performance Indicators (KPIs)/ or com. payroll. … XSD Why Model? Observation, Events § Slow, time consuming, … … 4 Business Vocabulary § Real programmers “extreme” program 4 4 4 § Standards matter 4 4 4 § Runtime interoperability Federated tools Portability Monitoring and reporting Evolution, Substitutability Currently a bit of a mess 4 4 4 UML E-R WSDL, BPEL, … BPMN SBVR …… Standards are more than runtime protocols Well, everyone models § White boards, Power. Point, … Design Time § Napkins, crayons, … … § What does company A’s tools give to B’s? § How does the caller know invocation seqs? Why model formally? § What CA’s does the service support? § Precise notation § Programmers don’t guess Portability § Reliable hand-off (“structure, " code here”) § Flexible placement over disparate product § Traceable and change management choices § Decouple BPM from infrastructure evolution budapest 19 -Mar-18 11
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Service Components • Required Interfaces • Events • Policy Points • …… ESB Stub Prolog Types JMS/MQ HTTP IIOP …… “Resources” Messages Port Types Operations Bindings Container Impl. “Abstract Process” “Business State” BPEL ABO CICS TP JAVA SQL …… Policy Control Descriptors Deployment Descriptors budapest 19 -Mar-18 12
IBM Software Group © 2006 IBM Corporation SOA -Implementing Services and Solutions Service Components “Web services describes the outsides. How do you implement a service? How do you compose services? ” § § Encapsulate Components for Reuse; All look the same from outside Components may be wired together and aggregated via flow Business Objects are the data flowing on wires between Components Enable type, role and skills specific tools. Policy Interface: How to call this component Component Java Interface WSDL Port Type Reference: What this components calls Uniform Representation of Encapsulated Implementation Java Interface WSDL Port Type Business Process Business State Machine Business Rule Human Task Interface Map Selector Java SQL XQuery budapest 19 -Mar-18 13
IBM Software Group © 2006 IBM Corporation SOA -Implementing Services and Solutions Service Components “Web services describes the outsides. How do you implement a service? How do you compose services? ” § § Encapsulate Components for Reuse; All look the same from outside Components may be wired together and aggregated via flow Business Objects are the data flowing on wires between Components Enable type, role and skills specific tools. Policy Interface: How to call this component Component Java Interface WSDL Port Type Reference: What this components calls Uniform Representation of Encapsulated Implementation Java Interface WSDL Port Type Business Process Business State Machine Business Rule Human Task Interface Map Selector Java SQL XQuery budapest 19 -Mar-18 14
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Assembling Services – Modules and Subsystems UDDI, Service Registry Project, SCCS ad hoc exchange, …… May “drill into” a specific component’s details get Approved/ Denied Simple wiring metaphor and tools. Unaware of “how” the component works. If Approved then Send letter offering gold If NOT Approved Send letter offering Credit counseling service budapest 19 -Mar-18 15
IBM Software Group © 2006 IBM Corporation SOA -Implementing Services and Solutions Services Oriented Architecture and Mediations Credit Card Service Commerce Service Found a CC Service Needs a CC Service Transform Route Augment Side Effect Policy Selection Matching But it’s not quite right. Darn Mediation budapest 19 -Mar-18 16
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation SCA, SOA and Event Driven Architectures ----------------------------------- Wiring is a simple model but is limited Implements --------------------------------------------------------------------- Transparent Mediation Emit Event ----------------------------------- Topics Filter Analyze Rules Subscription Filter ----------------------------------- budapest 19 -Mar-18 17
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Customizing Services – A “Design Pattern” Bind using • Date/Time • Application Version • Message Predicate • … … Required “Services” document POVs Simple rule templates Java, Java. Script Rule Engines Decision Table Decision Tree …… Call Prolog Types Mediate Messages Port Types Operations Bindings Just another “service” Impl Web Service Binding (Find) POV = Impl. Model for calling a service, e. g. JAX RPC Stub, BPEL Invoke Control Descriptors Deployment Descriptors budapest 19 -Mar-18 18
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Some Perspective § Haven’t we heard this before? OO, RPC, MDP, … …? § There are some differences 4 XML is language neutral; previous approaches implied a language model. 4 WSDL and XML are more forgiving of changes 4 Supports RPC and message/document approaches from beginning 4 Common type model for applications/servers, message systems and DBs 4 Builds on Internet protocols already deployed for “Web browsing. ” 4 Uniform model for events/pub-sub, message routing and RPC 4 More focus on logical behavior – WSDL, Policy, etc. 4 SOA component model derives from business modeling, making MDD simpler and eliminating “spooky transformations!” budapest 19 -Mar-18 19
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation The Role of the Container Policy Declarations Security Header Reliable Messaging Header Atomic Transaction Header The Impl. SOAP Message double This is fragile, changes over time, complex for business programmers, error prone, etc. deposit(Message m) { check. For. Duplicate(m. seq. No); register. For. Transaction(m. context); is. CAValid(m); check. Signature(m); update. Performance. Info(); balance += m. amount; // … … update. Performance. Info(); } budapest 19 -Mar-18 20
IBM Software Group © 2006 IBM Corporation SOA -Implementing Services and Solutions The Role of the Container Security Header Reliable Messaging Header Atomic Transaction Header SOAP Message Wrapper The Impl. Before After Container Check Certificate Challenge etc. Security Ack. Retransmit Reliability Transactions Container is a set of policy driven functions. Interceptor pattern for business logic and “stubs. ” Before and After factoring of code. budapest 19 -Mar-18 21
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Services and Components § There is a set of standards (emerging) formally representing a service component’s behavior 4 WSDL, XSD 4 BPEL, UML 4 WS-Policy 4 WS-Resource. Framework § There is an emerging, extensible set of service component kinds that provide a natural mapping for model elements 4 Process, Business State Machine, Selector 4 Eliminates the “miracle happens here” model 4 High level, portable implementations emerging § Support for very dynamic 4 Structural composition 4 Behavioral composition 4 Configuration/customization § Bridge to existing skill sets. budapest 19 -Mar-18 22
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Services and Components Compose and customize § There is a set of standards (emerging) formally representing a without seeing impl. service component’s behavior 4 WSDL, XSD 4 BPEL, UML 4 WS-Policy 4 WS-Resource. Framework Technology or details. § There is an emerging, extensible set of service component kinds that provide a natural mapping for model elements 4 Process, Business State Machine, Selector 4 Eliminates the “miracle happens here” model 4 High level, portable implementations emerging § Support for very dynamic 4 Structural composition 4 Behavioral composition 4 Configuration/customization § Bridge to existing skill sets. This “BPM” solution is a set of documents enabling a “wiki like” BPM evolution. budapest 19 -Mar-18 23
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation IBM End-to-End Architecture B 2 B Interactions “Portal” Service Enterprise Service Bus: Transform, Route, Notify, Augment, Side Effect Workflow Business Act. EIS Adapter “Script” POJO SSB Distinguished Services Information Mgmt XML DB budapest 19 -Mar-18 24
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Information as a Service – An Example of Going Beyond Process Tools & Applications Dashboards Insightful Relationships Standards based: e. g. , XQuery, JSR 170, JDBC, Web Services. . . Data & Content Insight In-line, Real-time Master Data Information as a Service Master Data, Entity Analytics, Decision Portals, Exec Dashboards, Industry Data Models Extracted or Real-Time (Information Virtualization) Heterogeneous Applications & Information DB 2 abc… IBM Content Manager xyz… Oracle budapest 19 -Mar-18 and more… 25
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Why Use Information Services in SOA? Customer Exists? Receive Account Info Customer Exists? Create Info Receive Account Info Create Info Why use Information Server/Services? § Efficiency § Sophisticated clean/link/… … functions § Simplifies process design § Reuse in other processes, as well as applications, portal, … … budapest 19 -Mar-18 26
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Portal = Single User Experience Application Integration Siebel Sales Accounts Opportunities • Unified point of access • Single Sign On • Role Based Access Data Integration RDMS Opportunity Sales Teams (DB 2) • Security • Portlet Communication • Themes and Page Aggregation People. Soft HR Employee Records • User Profile Services • Framework for integrating other applications budapest 19 -Mar-18 27
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Business Process/Performance Manage/Monitor § SOA infrastructure monitoring 4 Dynamic and policy driven 4“Transparent” to application logic 4 Sense – Respond – Act via MUWS § Observation/Performance Modeling 4 Observation points are part of modeling 4 Define scorecard view of Key Performance Indicators § SOA event infrastructure and event database § Enables 4 Dashboard, monitoring, management. 4 Ability to intervene in deployed processes § Set situational triggers and notifications § Dynamically respond to these alerts 4 Supporting continuous process improvement § Monitor in-flight business processes § Make process modifications based upon real-time data sent back to the Modeler for simulations budapest 19 -Mar-18 28
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation Summary and Directions § SOA and Web services offer tremendous promise § Web services currently focuses on the externals, which limits flexible construction of business processes and composite apps. § A complete architecture is necessary 4 Components for assembly 4 Method guidance, design patterns, templates 4 Integration with people, information and events § There are many open areas 4 Governance 4 Web 2. 0 4 Explosion of casual programmers in the workplace 4 Modeling support for Recipes, Patterns and Templates 4 Service/component identification, factoring, good “size, ” … … budapest 19 -Mar-18 29
IBM Software Group SOA -Implementing Services and Solutions © 2006 IBM Corporation A Grand Challenge § There is good and improving models for Process, Information and State, 4 Events 4 Components 4 Use cases 4 Component collaboration 4… … § Policy is where we are the most “broken” 4 Examples § “All POs over $10, 000 must be approved by regional sales manager. ” § “An employee cannot close a customer complaint that he created or marked complete. ” § “Business class is authorized for flight more than 8 hours or overnight. ” 4 We typically write these down in text. 4 Programmers read the text and write code. § Can we do better? 4 Many domains have nascent business vocabularies, e. g. law, dentistry 4 We write specs with nascent “grammars, ” e. g. MUST, CANNOT, RECOMMEND 4 Documents are often simple combinations of policy § Nested lists (Decision Trees) § Tables/Forms (Decision Tables) § Hyperlinks (Decision Flows) 4 Can we improve hand-offs and traceability for rules and codes through structured language, business vocabularies budapest 19 -Mar-18 30
c7298e4c9a8b77cae91f0c831219925d.ppt