Lecture 10 Enabling SoA Using Messaging 苏伟 suweilzuaeyou. com
Lecture 10 Enabling SOA Using Messaging 苏伟 suweilzu@eyou.com
SOA& Web Service 教育部-BM专业综合改革项目 Why are interfaces so expensive to build and maintain? Application interface logic is intertwined with business logic Tightly integrated interfaces are difficult to change. The more interfaces, the more complex the application -interface logic may exceed business logic. In such circumstances, reuse becomes difficultand im practical. Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Why are interfaces so expensive to build and maintain? ▪ Application interface logic is intertwined with business logic. ▪ Tightly integrated interfaces are difficult to change. ▪ The more interfaces, the more complex the application — interface logic may exceed business logic. ▪ In such circumstances, reuse becomes difficult and impractical
SOA& Web Service 教育部-BM专业综合改革项目 Traditional Message and Direct connectivity Message queuing message brokering service brokering Connectivity logic Connectivity and Connectivity, Connectivity, mediation logic mediation and mediation and additional logic additional logic Mediation and additional logic Additional logic Application Application Application Services Connectivity. Abstracts Abstracts Reduces mediation, and connectivity connectivity application to core additional logic logic from mediation logic business functions buried in applicationapplication from application (that is, a service Degree of fle xibility and reuse Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Channel
SOA& Web Service 教育部-BM专业综合改革项目 IBM SOA Foundation products for messaging Business Process Websphere Process server Business processes using BPEL Websphere ESB ESB WebSphere ESB Websphere Enterprise Service Bus functions Message Broker Web servces connectivity Advanced Enterpnse Service Bus functions WebSphere Application Server Network Deployment Messaging connectivity Foundation and Messaging Websphere WebSphere MQ Infrastructure Application Server J2EE applications Messaging Provider Default Messaging Provider Connectivity with WebSphere MQ Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 IBM SOA Foundation products for messaging
SOA& Web Service What is enterprise service bus(ESB)? A pattern for service-oriented integration ESB interconnects requester and provider Interactions are decoupled Supports key soa principle- the separation of concerns ESB also enables a central approach for Security Service Management ESB rovider Logging Service Service consumer provider Auditing Service Lan Zhou University
SOA & Web Service Lan Zhou University What is enterprise service bus (ESB)? ▪ A pattern for service-oriented integration ▪ ESB interconnects requester and provider – Interactions are decoupled – Supports key SOA principle — the separation of concerns ▪ ESB also enables a central approach for: – Security – Management – Logging – Auditing
SOA& Web Service 教育部-BM专业综合改革项目 What does ESB do? An ESB supplies a communication layer to support service interactions. It should support communication through a variety of protocols ESB reduces the tight coupling between the service consumer and provider The service consumer is not affected if The service provider location changes The service provider interface changes a different service provider is used Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 What does ESB do? ▪ An ESB supplies a communication layer to support service interactions. It should support communication through a variety of protocols ▪ ESB reduces the tight coupling between the service consumer and provider ▪ The service consumer is not affected if: – The service provider location changes – The service provider interface changes – A different service provider is used
SOA& Web Service 教育部-BM专业综合改革项目 What does ESB do? An EsB performs the following between the service consumer and service provider Route messages between services Convert transport protocols between consumer and provider Transform message formats between consumer and provider Handlebusiness events from disparate sources A MATCHES& ROUtes communications between services ●■; CONVERTS between different transport protocols TRANSFORMS between different data formats identifies distributes business events Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 What does ESB do? ▪ An ESB performs the following between the service consumer and service provider: – Route messages between services – Convert transport protocols between consumer and provider – Transform message formats between consumer and provider – Handlebusiness events from disparate sources CONVERTS between different transport protocols MATCHES & ROUTES communications between services TRANSFORMS between different data formats IDENTIFIES & DISTRIBUTES business events
SOA& Web Service 教育部-BM专业综合改革项目 ESB reference architecture Interaction, process, information, partner, business applications, access services Business logic Enterprise service bus(ESB) Message models Mediation flows Interaction patterns Mediation patterns Communication protocols Security Management Registry IT management services Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 ESB reference architecture
SOA& Web Service 教育部-BM专业综合改革项目 Expanded view of the enterprise service bus(1/3) Enterprise service bus Message models Mediation flows Mediation patterns Interaction Communication protocol patterns An ESB provides a range of mediation patterns supporting Service virtualization Conversion between communication protocols and interaction patterns Transformation between message models Routing among providers, of various forms; typically registry-driven Other Message enrich ment and filtering Distribution and aggregation Complex event processing Lan Zhou University
SOA & Web Service Lan Zhou University 教育部-IBM专业综合改革项目 Expanded view of the enterprise service bus (1/3)