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

Size: px
Start display at page:

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

Transcription

1 INF5120 BMM and BPMN Modelbased System development Lecture 2: Arne-Jørgen Berre 1 Lecture plan : 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

2 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

3 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

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

5 BMM meta-model in GMF Buyers ends 5

6 Sellers ends Buyer s means 6

7 Seller s means High-Tech Marketing Business Plan 7

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

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

10 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

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

12 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

13 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

14 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

15 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

16 Diagram elementer (2) Activities 16

17 Task Sub-processes 17

18 Events Start Events 18

19 Intermediate Events Intermediate events (normal flow) 19

20 Intermediate events (linked to Boundary) End events 20

21 Gateways Exclusive Gateways 21

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

23 Inclusive Gateways Complex Gateways 23

24 Complex Gateways Parallell Gateways 24

25 Conectors Sekvens flyt 25

26 Conditions in sequece floww Default sekvens flow 26

27 Message flow Associations 27

28 Swim lanes Pool 28

29 Lanes Artifacts 29

30 Text annotations Data objects 30

31 Groups Extended artifacts 31

32 Normal flow Link events 32

33 Process leves Data flow 33

34 Exceptions Compenations and transacations 34

35 Loops Timers 35

36 Ad hoc processes EPC og BPMN EPC EPC BPMN 36

37 Orkestering versus Koreografi Orkestrering 37

38 Koreografi Eksempel 38

39 Prosess informasjon Forslag 39

40 BPMN Eksempler BPMN eksempel Buyer/Seller 80 40

41 41

42 42

43 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 44

45 45

46 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