1 / 22

INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development”

INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development”. Lecture 7: 08.03.2010 SoaML modeling. INF5120 - Lecture plan - 2010. 1: 25/1: Introduction to MBSU, MDA, OO and Service / SOA modeling, Overall EA, 4 parts: MDE/SSS/MS/MDI (AJB) Part I: MDE – Model Driven Engineering

Download Presentation

INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development”

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INF5120”Modellbasert Systemutvikling””Modelbased System development” Lecture 7: 08.03.2010 SoaML modeling

  2. INF5120 - Lecture plan - 2010 • 1: 25/1: Introduction to MBSU, MDA, OO and Service/SOA modeling, Overall EA, 4 parts: MDE/SSS/MS/MDI (AJB) • Part I: MDE – Model Driven Engineering • 2: 1/2: MDE I: Metamodeling. DSL and UML profiles, MDA technologies (XMI, Eclipse, EMF/GMF) (AJB/BRE) • Part II: SSS – Service Science and Service/SOA technologies • 3: 8/2: SSS I: Service science (top down) - Service and SOA Technologies (bottom up) (AJB) • Part I continued: MDE – Model Driven Engineering • 4: 15/2: MDE II: Model transformations with MOFScript, ATL and other technologies (GO/JO) • 5 :22/2: MDE III: Code generation with MOFScript, ATL and other technologies (GO/JO) • Part III: MOS – Modeling of Services - with SoaML • 6: 1/3: MOS I: Business Process Modeling (CIM) - with BPMN 2.0, and BMM, EA with UPDM (AJB) • 7: 8/3: MOS II: Soaml, UML2 and SysML, Modelio SOA and Scope, –Collaboration and Component models (AJB) • 8: 15/3: MOS III: SoaML (PIM) and Requirements modeling , CIM->PIM and SoaML (AJB) • 9: 22/3: MOS IV: Method Engineering and SPEM / EPF - for Service systems (BRE) • EASTER • Part IV – Model Driven Interoperability • 10: 12/4: MS V: SOA and Service Design, Migration to SOA/Cloud Patterns with ADM (AJB ) • 11: 19/4: MDI I: Semantic Web with Ontologies and Model Driven Interoperability (TIR) • 12: 26/4: MDI II: Semantic Services and Model Driven Interoperability (TIR) • 13: 3/5: MDE IV: Evolution and industrial practice of modelbased technologies (AJB++) • 14: 10/5: Course summary and preparation for Exam 31/5 (AJB) • Exam: May 31st, 2010 (Monday), 0900-1200 (3 hours)

  3. Oblig 2 (Group work) • Create CIM, PIM and PSM models for an existingTravel agency to start to offer bookings through the web – for bookings through Internet of packaged travels (including flights, hotel, and car options). • Goals include Internet based travel reservation, optimal travel planning, improving the quality of customer satisfaction and financial optimisation, suppport automation of the accounting department and cash flow management, and to follow up on personnel load and satisfaction and collaboration between the various departments (sales, marketing, accounting, etc.) Process support for ISO 9000 certification.

  4. Outline • L7-1: SoaML introduction • SoaML Collaboration models • SoaML Composite structure models • L7-2: SysML introduction

  5. Goals EPC CIM Business rules POP* Flexible Business Flexible Business Business processes BPDM, BPMN according to flexible Business business models metamodels business models Business services BMM metamodels Business Models metamodels E - contracts … … transformation engine Transformer Transformation (engine) rules PIM Flexible Executable business Business Models oriented aspects to capture in models processes Web Grid Service interfaces Services Unified and Semantically - Service contracts according to standardised enabled Service enactment Which metamodels and languages to use Service UPMSHA Agents metamodel for heterogeneous Business rules Variability SLAs SOA & SHA SOA model Parameterized Semantic Web P2P Services services Heterogeneous … Platforms transformation - engine Transformer Transformation (engine) rules PSM What service Executable artefacts Heterogeneous XSD, WSDL, BPEL service platforms Teams and plans WSA Semantically - Semantically - Resource JXTA Interconnected enabled enabled Interconnected according to Heterogeneous management OGSA Heterogeneous heterogeneous heterogeneous heterogeneous heterogeneous SOA platforms Semantic Web JACK, JADE SOA platforms SOA platform SOA platform SOA platform SOA platform metamodels Services WSMO, WSMX metamodels models metamodels models models … … CIM to PIM to PSM

  6. Use of OMG metamodels • BPMN (BPMN 2.0) • BMM • UML 2.0 • SoaML • OSM • VDM • Case Management • SBVR • ODM

  7. SoaML Historikk(Service oriented architecture modeling language) OMG RFP – September 2006 3 initial submissions – June 2007 Merge process in 2008 and 2009 SoaML 1.0 ferdigstilt desember 2009 SoaML 1.0 adopteres av OMG i mars 2010 FTF chairs: Arne J. Berre, SINTEF og Jim Amsden, IBM http://www.soaml.org

  8. Service • A service is value delivered to another through a well-defined interface and available to a community (which may be the general public). A service results in work provided to one by another.

  9. Mappings between BPMN 2.0 and SoaML • BPMN participants are mapped to SoaML participants • BPMN conversation diagrams are mapped into SoaML service architectures • BPMN choregraphies are mapped into process for interactions between SoaML particpants – a basis for services • BPMN service tasks are invocations of web services (more as an implementation level service)

  10. Service Architecture Modeling with SoaML collaboration models

  11. Services Architecture Purchasing service Shipping service Ship Status service A ServicesArchitecture (or SOA) is a network of participant roles providing and consumingservices to fulfill a purpose. The services architecture defines the requirements for the types of participants and service realizations that fulfill those roles. The services architecture puts a set of services in context and shows how participants work together for a community or organization without required process management. A community ServicesArchitectureis defined using a UML Collaboration.

  12. Order Processing Accounting Service Inside the Seller/Manufacturer Order Conformation Shipped Ship Req Shipped Delivered

  13. ServiceContract A ServiceContract defines the terms, conditions, interfaces and choreography that interacting participants must agree to (directly or indirectly) for the service to be enacted - the full specification of a service which includes all the information, choreography and any other “terms and conditions” of the service. A ServiceContract is binding on both the providers and consumers of that service. The basis of the service contract is also a UML collaboration that is focused on the interactions involved in providing a service. A participant plays a role in the larger scope of a ServicesArchitecture and also plays a role as the provider or user of services specified by ServiceContracts.

  14. Information processed by order processor Service interface corresponding to role type type Service interface corresponding to role Information received by orderer Service Contract Service Contract Role within service Role within service The service contract specifies the details of the service – what information, assets and responsibilities are exchanged and under what rules

  15. Simple Protocol Choreography for Ordering Service Contract Could also be specified in BPMN, in principle

  16. Participants Participant Participant Participants represent logical or real people or organizational units that participate in services architectures and/or business processes. In SoaML participants provide and use services, defining their external contract

  17. Service Modelling with SoaML Port/Connector models – extending UML 2.0 composite structure models

  18. Service ports and Service Participants A Service port s the offer of a service by one participant to others using well defined terms, conditions and interfaces. A Service port defines the connection point through which a Participant offers its capabilities and provides a service to clients. A Service port is a mechanism by which a provider Participant makes available services that meet the needs of consumer requests as defined by ServiceInterfaces, Interfaces and ServiceContracts. A Service port is represented by a UML Port on a Participant stereotyped as a «Service, .

  19. ServiceInterface a ServiceInterface can be the type of a service port. The service interface has the additional feature that it can specify a bi-directional service – where both the provider and consumer have responsibilities to send and receive messages and events. The service interface is defined from the perspective of the service provider using three primary sections: the provided and required Interfaces, the ServiceInterface class and the protocol Behavior.

  20. Participant with Service and Request ports The type of a Request port is also a ServiceInterface, or UML Interface, as it is with a Service port The Request port is the conjugate of a Service port in that it defines the use of a service rather than its provision. This will allow us to connect service providers and consumers in a Participant. - Can be transformed to appropriate interface/implementation code.

  21. Conclusion • Both BPMN 2.0 and SoaML will become final standards in 2010 • A BPMN-SoaML harmonisation team is working on alignment and synergy between the two specifications – they will complement each other with the process and service perspective, respectively • BPMN 2.0 with SoaML enables working with services and service composition at an abstraction level suitable for business stakeholders • Tool vendors are preparing support for BPMN 2.0 (incrementally) and SoaML (already)

  22. Next Lecture – March 15th, 2010 • SoamL • UML 2.0 - Collaboration Diagrams, OOram • UML 2.0 Port Connector Models and Components • Service Science – IBM, Jørn Berg Nordlund

More Related