INF5120 Model based System Development INF5120 BMM and BPMN Modelbased System development. Lecture 2: Arne-Jørgen Berre

Similar documents
Transcription:

INF5120 BMM and BPMN Modelbased System development Lecture 2: 26.01.2009 Arne-Jørgen Berre 1 Lecture plan - 2009 1: 19/1: Introduction to MBSU, MDA, OO and Service/SOA modeling, Overall EA (AJB) 2: 26/1: MS I: Business Process Modeling (CIM) - with BPMN and BMM (AJB), Objecteering UML Modeler 3: 2/2: MS II: UML2 and SysML, Objecteering SOA and Scope, Collaboration /Component models 4: 9/2: MDE I: Metamodeling, DSL and UML profiles, MDA technologies (XMI, Eclipse, EMF/GMF) (GO/BRE) 5: 16/2: MS III: SoaML I (PIM) and Requirements modeling, CIM->PIM, 6: 23/2: MS IV: Method Engineering and SPEM / EPF (BRE) 7: 2/3: MS V: SoaML II and Service Design (AJB) 8: 9/3: MDE II: Model transformations with MOScript, (ATL and QVT) and JEE (GO) 9 :16/3:: MDE II: Code generation with MOFScript and other technologies (GO) 10: 23/3: MDE IV: PIM and Web Services teknologi (PSM) for SOA with WSDL/XML/BPEL (PSM) (BRE) 11: 30/3: MDI I: Model Driven Interoperability I (AJB) EASTER 12: 20/4: MDE V: Open ArchitectureWare/Kermeta, Microsoft OSLO etc. (Neil, Franck, Anthe) 13: 27/4: MDI II: Model Driven Interoperability - II - Ontologies, Semantic web and Semantic Modeling (AJB) 14: 4/5: Course summary Exam: May 29th, 2009 (Friday) AJB Arne J. Berre BRE Brian Elvesæter GO Gøran Olsen 2 1

BMM and BPMN on the CIM level ASPECT LEVEL Information Service Process Rules Events Organization Goals NFA CIM BPMN BMM CIM2PIM PIM PIM2PSM PSM 3 Business Motivation Model The Business Motivation Model (BMM) is a meta-model of the concepts essential for business governance. underlying principle is Businesses are driven, not by change, but by how they decide to react to change vocabulary for governance influencer assessment business policy strategy tactic goal Governance Governance is necessary for the successful adoption of SOA partly because of the cross-organizational nature of SOA where service funders, designers, implementers, maintainers, or consumers are not located in the same organization, business, IT department, LOB, division, or enterprise. 2

two major areas of the Business Motivation Model The first is the Ends and Means of business plans. Among the Ends are things the enterprise wishes to achieve for example, Goals and Objectives. Among the Means are things the enterprise will employ to achieve those Ends for example, Strategies, Tactics, Business Policies, and Business Rules. The second is the Influencers that shape the elements of the business plans, and the Assessments made about the impacts of such Influencers on Ends and Means (i.e., Strengths, Weaknesses, Opportunities, and Threats). Simplified View of BMM Means What you decided your Enterprise should do References to Courses of Action Ends Business Operations - Business Processes - Business Rules - Responsibilities - Resources - Services Directives Influencers Govern the Courses of Action Assessments Telecom Informatics BMM and GRC 6 Model 3

Core concept for BMM BMM Core Concepts Telecom Informatics BMM and GRC 8 Model 4

BMM meta-model in GMF Buyers ends 5

Sellers ends Buyer s means 6

Seller s means High-Tech Marketing Business Plan 7

High-Tech Marketing Business Plan Business Motivation Model (BMM) with MeansRealizations 8

Buyer/Seller reference example 17 What is BPMN (Business Process Modeling Notation)? 9

BPMN example EPF Composer EPF Composer is a tool platform for process engineers, project leads, project and program managers who are responsible for mainteining and implementing processes for development organizations or individual projects Aims to: provide for development practitioners a knowledge base of intelectual capital that allows them to browse, manage and deploy content. provide process engineering capabilities by supporting processe engineers and project managers in selecting, tailoring, and rapidly assembling processes for their concrete development process. Note: This is also a Business Process for Software dev. 10

BPMN (Business Process Modeling Notation) What is BPMN? 11

History for BPMN BPMI.org Hourglass Audiences: tegy Consultants Business Analysts Business Environment BPMN Purposes: Modeling rocess Designers Focus BP Scope System Architects ftware Engineers BPEL, Java Technology Implementation Execution 12

BPMN requirements Core Set of Diagram Elements The core set of modeling elements enable the easy development simple Business Process Diagrams that will look familiar to most Business Analysts (a flowchart diagram) 13

Complete Set of Diagram Elements, Events An Event is something that happens during the course of a business process. These Events affect the flow of the Process and usually have a trigger or a result. They can start, interrupt, or end the flow. Complete Set of Diagram Elements, Activities, Cont. A Sub-Process can be in an expanded form that shows the process details of the a lowerlevel set of activities. 14

Complete Set of Diagram Elements, Gateways Gateways are modeling elements that are used to control how Sequence Flows interact as they converge and diverge within a Process. If the flow does not need to be controlled, then a Gateway is not needed. BPMN Diagram elements 15

Diagram elementer (2) Activities 16

Task Sub-processes 17

Events Start Events 18

Intermediate Events Intermediate events (normal flow) 19

Intermediate events (linked to Boundary) End events 20

Gateways Exclusive Gateways 21

Exclusive Gateways, based on data Exclusive Gateways, based on events 22

Inclusive Gateways Complex Gateways 23

Complex Gateways Parallell Gateways 24

Conectors Sekvens flyt 25

Conditions in sequece floww Default sekvens flow 26

Message flow Associations 27

Swim lanes Pool 28

Lanes Artifacts 29

Text annotations Data objects 30

Groups Extended artifacts 31

Normal flow Link events 32

Process leves Data flow 33

Exceptions Compenations and transacations 34

Loops Timers 35

Ad hoc processes EPC og BPMN EPC EPC BPMN 36

Orkestering versus Koreografi Orkestrering 37

Koreografi Eksempel 38

Prosess informasjon Forslag 39

BPMN Eksempler BPMN eksempel Buyer/Seller 80 40

41

42

Eksempel - legekontor A text description of the choreography was presented as so: 1) Patient send a "I want to see doctor" message to the Receptionist 2) Receptionist send a "Are you available?" message to a a list of Doctors 3) One doctor send a "I'm available" message to the Receptionist. 4) Receptionist send a "I'll book you" message to the Doctor. 5) Receptionist send a "Go see doctor" message to the Patient 6) Patient send a "I feel sick" message to Doctor 7) Doctor send a "Prepare this medicine" message to Receptionist 8) Doctor send a "Pickup your medicine and you can leave" message to Patient 9) Patient send a "I need my medicine" message to Receptionist 10) Receptionist send a "Here is your medicine" message to Patient 43

44

45

Next Lecture February 2nd, 2009 UML 2.0 Collaboration Diagrams Port Connector Models and Components SysML Use of Softeam UML/BPMN modeling tool 92 46