《IBMWebSphere Business Integration Technical Overv.ppt》由会员分享,可在线阅读,更多相关《IBMWebSphere Business Integration Technical Overv.ppt(88页珍藏版)》请在三一办公上搜索。
1、WebSphere Business Integration Technical Overview,2,Services(SOA),ITs architectural evolution:Making IT more responsive,MonolithicArchitectures,Pre 1950sTo 1960s,1970s to mid 1980s,Mid 1990s toEarly 2000s,Today,Late 1990s,Increasing Modularity to Achieve Flexibility,Sub-routines/RemoteProcedureCalls
2、,RemoteObjectInvocation,MessageProcessing,EAI,1980s toMid 1990s,3,Apps&Info Assets,业务创新&优化服务,DevelopmentServices,接入服务,流程服务,信息服务,合作伙伴服务,业务应用服务,遗留系统服务,企业服务总线,IT ServiceManagement,基础服务,Provide for better decision-making with real-time business information,Enables collaboration between people,processes&
3、information,Orchestrate and automate business processes,Manages diverse data and content in a unified manner,Integrated environment for design and creation of solution assets,Manage and secure services,applications&resources,Connect with trading partners,Build on a robust,scaleable,and secure servic
4、es environment,Enable inter-connectivity between services,Facilitate interactions with existing information and application assets,Optimizes throughput,availability and performance,SOA 参考架构,4,Business Innovation&Optimization Services,DevelopmentServices,Interaction Services,Process Services,Informat
5、ion Services,ESB,IT ServiceManagement,Infrastructure Services,实现例子,Portal,Partner Services,Business App Services,Access Services,5,Business Process Management,6,建模,开发,部署及运行,管理及监控,面向业务分析员的图形化流程建模工具,能够最大化实现流程和业务资源的重用,易用的集成工具,能够帮助开发人员迅速地将服务组合成复合应用,业务流程的灵活部署与实施,完全实现业务流程组件的“即插即用”,流程的实时图形化监控性能管理,支持流程的持续改进
6、,SOA生命周期,7,WebSphere Business Modeler,WebSphere Integration Developer,WebSphere Process ServerWebSphere Application Server,WebSphere Business Monitor,面向业务分析员的图形化流程建模工具,能够最大化实现流程和业务资源的重用,易用的集成工具,能够帮助开发人员迅速地将服务组合成复合应用,业务流程的灵活部署与实施,完全实现业务流程组件的“即插即用”,流程的实时图形化监控性能管理,支持流程的持续改进,WebSphere ESBWebSphere MQWeb
7、Sphere Message Broker,针对集成应用程序和用于增强 SOA 服务的连接基础结构,WebSphere,支持SOA生命周期全过程!,8,WebSphere Application Server,ESB,and Process Server,WebSphere ApplicationServer,WebSphere Application Server ND,WebSphere ESB,WebSphere Process Server,App Server,Clustering,Mediation,Choreography,9,WebSphere Process Server V
8、6 Components,HumanTasks,BusinessStateMachines,BusinessRules,WebSphere Application Server(J2EE Runtime),Selectors,Mediation(ESB),10,WebSphere Business IntegrationServerv4.x,IBM WebSphere Integration Evolution,WebSphere Process Server V6Tech Preview 4Q04,Beta 3Q05,GA 3Q05,WebSphere Message BrokerBeta
9、2Q05,GA 3Q05,InterChangeServer,MQWorkflow,MessageBroker,Version 6,Today,WebSphere Business Integration Server Foundation v5.x,WebSphere Studio Application Developer Integration Edition(WSAD-IE),WebSphere Business Integration Tools,WebSphere Integration Developer v6,11,WebSphere Process Server V6,全部W
10、S-BPEL1.1规范,部分2.0的规范利用J2EE 1.4技术创建的业务过程同步和异步业务过程接口维护长期运行业务过程的状态向参与业务过程的个人分配工作项目通过Web客户端管理和监控业务过程多种选项,用于在高可用性环境中运行业务过程支持SCA、SDO、CEI等技术规范包括业务状态机、业务规则等功能组件,12,The Challenge to Programmer Productivity for SOA,Composition,Data,Invocation,JDBC result setJavaBeanJAXB objectJMS messageJCA dataEJB transfer b
11、eanJAX-RPC POJOEMF dataXML DOMetc.,etc.,etc,JAX-RPC(static and DII)JDBCEJB stateless session bean JCAJMSWSIFetc.,etc.,etc,EJB stateless session bean compositionJavaBean compositionUML activity diagramsBPEL flowsFDML flowsWSFL flowsXLANG flowsetc.,etc.,etc,Business Objects,WS-BPEL,Service Components,
12、Solved!,13,Integration in an SOA World,To be easy to use a solution for SOA Integration requiresCommon Data ModelAll Data is represented consistentlyCommon Invocation ModelAll components are represented consistentlyAll components are invoked identicallyCommon ConnectivityEnterprise Service BusServic
13、e ChoreographyComponents can be choreographed independently of their implementation,14,Leading Vendors Pledge Support for SCA and SDO,But only IBM has it Today!,15,The Common Invocation Model:Service Components,Interface:How to callthis component,Reference:What thiscomponents calls,UniformRepresenta
14、tion ofencapsulatedImplementation,Component,16,Assembling The Components,17,Assembling The Components,Human intervention on suspect applications to prevent fraud,Adapting to business events,Sell additional services based on customer profile,Call Credit Rating service from an existing application,Ena
15、ble rapidly changing customer decision point,Flexibly building business processes based on standards,Human Task,Business State Machine,Java Application,Imported EIS System,WS-BPEL Business Process,Business Rules,18,Abstraction and the Programming Model-Creation Challenge,J2EE EJB,Abstraction,SCA Bus
16、iness Rules,SCA POJO,SCA Business State Machine*,SCA Human Task Manager,SCA BPEL*,J2EE Skills-Simple Java-Scripts-Spreadsheets-Decision Tables,SCA Interface Transformation*,SCA ESBMediations,XML based implementation formats,SCA System Services,PHP,Integration Specialist,Business Analyst,Higher,Progr
17、amming Skill Required,Lower,19,The Value of a Common Business Object Model,Customer,Customer,Customer,PurchaseOrder,Time DepositAccount,Contract,Invoice,Customer,Insurance,SignitureCard,Home,DepositAccount,SalesOrder,CustomerCase,Assesment,Score,Auto,Trust,SalesOrder,Statement,CheckImage,Item,Item,C
18、ontract,Check,Item,Back OfficeWorkflow,Claims,Risk,Financials,SalesOrder,Household,Segments,Customer,Customer,Customer,Persing,CustomerCase,Vendor,Customer,Vendor,Household,Commercial,OperationalData Store,CustomerCare,20,The Common Data Model:Business Objects,Enhanced Service Data ObjectProvides so
19、me function notavailable in base SDO specification(close to SDO 2.0)Supports Inheritance and AggregationEnables import of standard XSD Business Object Framework consists of:,21,All data are described as Business Objects(BO)Defined via XSDDeployed as Service Data Objects(SDO)Automatically generated v
20、ia AdaptersInheritanceTrue Objects specialize BO by inheriting from existing BONestingA BO may contain other BOsGeneric or Application SpecificAbstraction enables Common Business Object Model(CBOM),Inherits,Contains,Data Complexity isolated through Business Objects,22,The Common Invocation Model:Imp
21、orts/Exports,AdaptersJ2C 1.5WBI AdaptersWeb ServicesSOAP over HTTP,SOAP over JMSJMS(WebSphere Messaging Resources)Point-to-Point and Publish/SubscribeIntegrate existing WebSphere MQ Solutions through MQ LinklklkEJBkkjSCAConnect modules to each other without exposing the interface outside of WebSpher
22、e Process ServerStandalone ReferenceEnables an SCA API Client to call a Module,23,Mapping the Implementation to the Component,24,Module:Order,Assembling Components into Modules,Encapsulate Functionality into Modules for ReuseComponents are connected by wiresBusiness Objects are the data flowing on w
23、ires between Components,Web,Web,BO,BO,BO,BO,BO,BO,OtherApplicationsandModules,OtherApplicationsandModules,Interface,Reference,Component,25,Using Modules for Encapsulation and Reuse,Modules:Encapsulate and Reuse FunctionalityLibraries:Share common definitions,26,Using Modules for Encapsulation and Re
24、use,Change Approval to Business RuleStore Order in SAP instead of DB2All without affecting common objects or consumers,27,Service Choreography:WS-BPEL,WS-BPEL provides portable,interoperable process modelsWS-BPEL enables Defining business processes as coordinated sets of service interactions,recursi
25、vely into new aggregated servicesWSDL abstract interfaces alone used to define compositionDefining both abstract and executable processesAbstract processes for e-commerce specificationsExecutable processes provide a model to integrating enterprise applicationsCreating compositions of servicesComposi
26、tion based on abstract descriptions,28,WS-BPEL 2.0 Elements,Process,Correlation Sets,Partner Links/Partners,Variables,Fault Handlers,Event Handlers,*,Receive,Reply,Invoke,Assign,(Re)Throw,!,Terminate,Wait,Empty,Compensate,Sequence,Switch,While,Flow,Pick,Scope,Compensation Handlerat scope level,x,29,
27、Two Styles of Service Choreography,Business ProcessesTraditional Business ProcessesFull support for WS-BPELImport from WebSphere Business Modeler,Business State MachinesEvent-driven Business ProcessesFull support for State Machine programming modelStates,Events,Transitions,Actions,Guards,State Machi
28、ne Authoring/Debugging/Logging,30,Business Process,WS-BPEL compliant business process engineSimplified Process EditorOptional simplification oftermsGeneric Business ProcessOperations/ParametersService Implementation Details hiddenTransactions/CompensationFull XPath 1.0 Support,31,Business State Mach
29、ines,State MachineImplementationBased on UML 2.0State Machine ModelsEvent driven businessprocessesCreates WS-BPELunder the coversSimple/Complex StatesEntry/ExitTransitionsEventsActions(invokes)GuardsTimeout,32,Human Task Manager Human Tasks,Three kinds of Human TasksInvoke humans as services“The cla
30、ssical staff activity scenarioAllow humans to invoke servicesServices implemented by business processes or arbitrary service componentsControl which users are allowed to invoke a serviceAllow humans to invoke“humansServices implemented“by humans(Ad-hoc),33,Human Task Features,Different,rich assignme
31、nt rules for Editors,Readers,Administrators and Potential OwnersMultiple ClientsWeb ClientPortal ClientMulti-level Escalation Mechanismse-MailStaff Assignment-Notification Work ItemPriority Aging,34,Business Rules,Externalize Business Logic from an application(business process)Easy change of logic t
32、hat may changeDynamically Update Rules in Runtime on the fly through Web InterfaceNLS enabled free text representation for rulesMost-requested Business Rule FunctionalityDecision TablesRule Sets(If/Then Rules)Rule TemplatesAction RulesEase of UseRule Group:detailed implementation encapsulated in a c
33、omponent with a well defined interface,35,Changing Rule Execution Dynamically,1,New rules can be created from existing templates,New values can be supplied for existing rules,Rules can be reordered,Rules can be deleted,36,Selector,Clientmakes a call to the Selector ComponentSelector Componentchooses
34、 which target destination to invoke using a declared selection implementation,Destination(s)for each operation on the Selector Component are associated with the Selector ComponentWeb-based Administration,37,Common Event Infrastructure,Event Data,Event Consumer,Event Consumer,Event Consumer,Event Con
35、sumer,Submit,Event Source,Distribute,Store,Query,Complete,An event occurs whensomething significant happensin the IT system.E.g.,whenever an application processes a new order or a failure occurs in a critical part of the system.Based on CEI(Common Event Infrastructure)Data about the event are captur
36、ed in an event object.The event object has a standardized format calledthe Common Base Event(CBE)The application supplies the business data and WebSphere fillsin the details from the runtime environment such as the server name,J2EE component details and business context.All event objects are passed
37、to the event infrastructure to enable:Tracking the progress of a business processAudit trailsCoordinating work between independent business processesMonitoring for exceptions in a business processFor example,if the process does not complete within a time limit,38,Common Base Event Selection,Select w
38、hich events to emitSelect detail of eventsFull,Digest,Empty,39,WebSphere Software Platform Development Roles,Description,Role,Development Tool,Modeling business processes for optimization or to reengineer existing business processes or define new business processes,No programming experience required
39、Can focus on business performance&process,Visual tools to configure integration logicwith existing and new applications and humans in the network,Focused specifically on J2EE implementation,Comprehensive integrated development environment,for Web,Java,Web services,Portal,and EJB development with vis
40、ual tools that accelerate application development.,Focused specifically on UML modeling and J2EE implementation,Model-driven development environment that automates the translation from design to implementation.Includes requirements and business modeling integrations with RequisitePro and WBI Modeler
41、,Some basic programming experience(loops,conditions,string manipulation)No J2EE skill requiredExpect tools to simplify and abstract advanced IT implementation details,Business Analyst,Integration Developer/Specialist,J2EE/Java Application Developer,Software Architect,WebSphere Business Modeler,WebSp
42、here Integration Developer整合开发部署,Rational Software Architect,Rational Application Developer,40,WebSphere Integration Developer 6.0,Reduce cost of skillsDefault=Little to no JavaRoles/progressive disclosureAccelerate skills TutorialsOut of Box ExperienceSamplesReduce time to deploymentBusiness Object
43、s,Relationships Wiring/ComponentsEnd-to-end test frameworkSimplify the authoring metaphorInterface/Data transformationBusiness ProcessBusiness RulesBusiness State MachinesBusiness Events,PointClickIntegrate,41,Development Tool Navigation,Outline Browser,Graphical Outline,References Browser,42,Common
44、 Business Object Model,2,Dynamic Service Selection,1,Business State Machine,4,Human Task Manager,5,Triangle of Truth C+D+I Isolation数据调用组合的三角架构,3,Features in WebSphere Process Server,Business Rules,6,Common Event,7,Enterprise Service Bus,8,43,Enterprise Service Bus,44,Objectives,理解 ESB理解 WebSphere M
45、essage Broker 的概念理解如何通过WMB实现ESB,45,Enterprise Service Bus,46,What is an ESB?,是一个结构上的模式.实际上,我们能通过不同的集成方式来构建一个service buses在ESB模式里,参与者(包括请求消费者和提供者)不直接交互,而是通过一个提供虚拟并可管理的 bus 来实现和扩展SOA的核心定义.ESB是实现SOA思想的一个软件基础结构:由一系列用于连接Services的interaction points组成.一个Services 能够调用已经连接到Bus上的其他的 services.不用改变Service消费者和提供
46、者,允许它们在调用时通过动态的、柔韧的连接性实现交互.所有的交互是可管理和可度量的.通过最小化Services之间明确的连接性来简化SOA.,47,SOA with an ESB,简化基础架构ESB 简化如何思考Services连通性的方式 ESB 不改变思考Services的方式基础架构变的动态和灵活新的连通性e.g.add customer request audit.灵活的连通性e.g.prioritize customer request.Service 替换e.g.New service upgrade without,48,Customer,Order,Quantity,Price
47、,Date,Fred Smith,Graphics Card,32,1.50,07/11/06,A,B,最常见的连接方式,49,A,B,C,D,E,?,50,What is an ESB?,ESB 提供了:路由能力通信协议独立性格式转换独立性事件处理,Appl A,Appl B,Appl C,Appl Z,Appl Y,Appl X,Shape=Protocol,Black Box=Routing,Color=Data type,Eye=Event Handling,51,Interaction,Process,Information,Partner,Business App,Access S
48、ervices,IT Management Services,Enterprise Service Bus视图,Business Logic,Security,Management,Message Models,Message Flows,Transport Protocols,Enterprise Service Bus,Interaction Patterns,Mediation Patterns,Registry,52,Enterprise Service Bus 参考架构,Data Models,MRM,EDIFACT,RosettaNet,HL7,XML,Message Flows(
49、interaction patterns),Mediation Primitives,XSLT,Logging,Endpoint Lookup,DB Lookup,Split/Merge,Routing,Communication Protocols,SOAP/HTTP,SOAP/JMS,XML/HTTP,XML/JMS,String/MQ,FTP,Enterprise Service Bus,Custom Primitives,QoS Agents,Infrastructure(security,monitoring),53,WebSphere Message Broker 基础,54,WM
50、B 体系框架,Workspace,External Repository,Broker,Broker,Broker,ConfigurationManager,Workspace,Tooling Users,SCM System(ClearCase,CVS,PVCS,etc.),Deploy,Deploy,开发环境,运行环境,55,Components Message Brokers Toolkit,Development of broker artefactse.g.message flows and message setsStored in a local or team reposito