Transcription

INF5120 and INF9120”Modelbased System development”Lecture 1: 19.01.2015Arne-Jørgen Berrearn[email protected] and [email protected] and Informatics1

Welcome to INF5120 and INF9120“Model based System development” Model based System Development / Lecturers: Arne-Jørgen Berre Guest lecturers Email: [email protected] Teaching Assistants responsible for Obligatory exercises: Sijan Gurung, Hanieh Ali Bakhish, Mozhgan Pourabedin Islami Extra support: Shazad Karamat, Yannick Lew Email: [email protected] and Informatics2

3 parts of the course BAE (Business architecture engineering andRequirements models, with service innovation and design) SAE (System and Software Architecture Engineering Model Driven system architecture and realisation) MDE (Model Driven Engineering) – Design of domainspecific languages and editorsTelecom and Informatics3

INF5120 - Lecture plan - 2015 1 (19/1): Introduction – MDA principles, class models, EA, BAE, SAE, MDE2 (26/1): BAE-1: BM, VDML, BMC/VPC,– Strategyzer, Oblig 1&2 intro, establish groupsGuest lecture, Prof. Peter Lindgren, Aarhus University, Sensing Business Model3: (2/2): MDE-1 Method Engineering, Essence – Symphonical4 (9/2): BAE-2: EA, BA, BPMN, VDML, - MagicDraw and Cameo Enterprise5 (16/2): BAE-3: Service Design – SmaplyGuest lecture, Ragnhild Halvorsrud, SINTEF, Visual Service Design language6 (23/2): BAE-4: User experience and UI Design – Balsamiq7 (2/3): BAE-5: Agile user stories and use cases – Symphonical/MD&Cameo8 (9/3): SAE-1 IFML and Webratio and Mobile App development, Oblig 2 intro9 (16/3): SAE-2 Domain/information modeling – more IFML – Server development Oblig 1delivery and presentations10(23/3): MDE-2 Metamodels, EMFEASTER11(13/4): MDE-3 Graphical Editors – Sirius Oblig 2 delivery and presentations12(20/4): MDE-4 Model transformations13(27/4): SAE-3 Non functional requirements14(4/5): SAE-4 Service modeling - Oblig 3 delivery and presentations15(11/5): MDE-5: EA and DSL examples – future MDE16(18/5): Conclusion – preparation for the examTelecom and Informatics4

Course components"SenseIT"3 OBLIGSBusiness ArchitectureEngineering (BAE)-1Software/System ArchitectureEngineering (SAE)-2Model DrivenEngineering (MDE)-3Telecom and Informatics5

Course parts Business Architecture EngineeringBAE-1 (26/1): Business Architecture – Business Model Canvas - Strategyzer tool.BAE-2: (9/2) BA and BPMN process, VDML and BMC with Strategyzer, MagicDrawBAE-3 (16/2): Service Innovation and Service Design, AT ONE, Smaply - Customer JourneyBAE-4: (23/2): User experience and Touchpoints/UI Design – Balsamiq/WebRatioBAE-5: (2/3): Agile User stories and Use cases 2.0, Backlog, with MD/Symphonical o.a. System/Software Architecture EngineeringSAE-1 (9/3): IFML and WebRatio for Mobile App developmentSAE-2 (13/4): Domain/Information/Ontology modeling, UML, ISO 19103SAE-3 (27/4): Non Functional requirements – OCL and PLanguageSAE-4 (4/5): UML Service Modeling, ServiceML,SoaML, UML 2.0 Composition, MagicDraw Model Driven EngineeringMDE-1 (2/2): Method Engineering, SPEM/EPF, ISO 24744, ESSENCE - Symphonical, IJIMDE-2 (23/3): Model driven engineering – Metamodels, DSL, UML Profiles, EMFMDE-3 (13/4): DSLs – Graphical and Lexical Editors, Eclipse Sirius etc.MDE-4 (20/4): Model driven engineering, transformation technologies, MOFScript, ATLMDE-5 (11/5): Enterprise Architecture, TOGAF, UPDM, SysML – DSLs etc.Telecom and Informatics6

INF5120 - Tools- 2015 Enterprise Architecture –No Magic – Cameo Enterprise Architecture MagicDraw Business Architecture and Requirements EngineeringBusiness Model Canvas – Strategyzer.comService AT ONE method/workshop – with Smaply.com for Service DesignValue Networks/VDMLBalsamiqWebRatioAgile User stories versus Use cases – Agile JIRA, SymphonicalBusiness-SoaML, Requirements Modeling, Goal Modeling, BMM, and Non Functionalrequirements Model driven engineeringModel-Driven Software Engineering in Practice (Brambilla & al)ESSENCE bookEclipse EMF og GraphitiModel driven engineering, transformation technologies (M2M, M2T)MDE and DSL in practice, with ThingML and CloudML System Architecture and Service EngineeringSoaML, UML 2.0 Service composition, ISO 19119 MagicDrawSystem Architecture and Information/Ontology modeling, UML, ISO 19103UI Models, WebML and IFML, Process models (WebRatio, Cordys Cloud)System realisation models – WebRatio, JEE), MDA-ADM, SBVR, MDIPlatform models for the Cloud, with CloudMLTelecom and Informatics7

Obligs Partially individual, partially group - in 3 parts Oblig 1 and 2 "SenseIT" – your "own" company todevelop web and mobile app services with Bluetoothconnected UV sensor for Sun protection – will bepresented in more detail on January 26thTelecom and Informatics8

Course literature – available on web Material from all lectures and OBLIG 1, 2 and 3. Some selected articles and documents, and subset of standard documents from OMG - will be updated Web site for practices: Practical use of tools for OBLIGs MagigDraw – with No Magic Cameo Enterprise Architect (extended version of MagicDraw) WebRatio - http://www.webratio.com Eclipse EMF - http://www.eclipse.org/modeling/emf/ Eclipse SIRIUS project http://eclipse.org/sirius/ BPMN – http://www.eclipse.org/stp/bpmnIFML - http://www.ifml.org/SoaML - www.soaml.orgInf5120.modelbased.netTelecom and Informatics9

http://INF5120.modelbased.netTelecom and Informatics10

UML 2.0 UML 2.0 and SysML Background and Reference material See www.uml-forum.com/specs.htm Also at OMG:http://www.omg.org/uml/ (UML)http://www.omg.org/mda/ (MDA)http://www.omg.org/cwm/ (MOF, XMI, CWM)Telecom and Informatics11

UML 2.0 recommended books:UML 2.0 in a Nutshellby Dan Pilone (Author), Neil Pitman (Author)The Unified Modeling Language User GuideSecond edition (ISBN 0-321-26797-4)(G, Booch, J. Rumbaugh, Jacobsson)Telecom and Informatics12

Book on Model-Based systemdevelopment Model-Driven Software Engineering in PracticeISBN 978-1-60845-882-0Morgan&Claypool Publishers, Synthesis lectures on Software Engineering2012, 166 pagesMarco Brambilla, Jordi Cabot and Manuel WimmerTelecom and Informatics13

IFML – for Model Driven Mobile AppsTelecom and Informatics14

Supporting literature Book: Model-Driven Software Development: Technology, Engineering,Management (Paperback)by Thomas Stahl, Markus Voelter, Krzysztof CzarneckiISBN: 978-0-470-02570-3 Engineering Service Oriented Systems: A Model DrivenApproach, Karakostas, Bill; Zorgios, YannisISBN10: 1599049686 ISBN13: 9781599049687Cover: HardcoverApril 2008Telecom and Informatics15

DSL Engineering DSL Engineering: Designing, Implementing and Using Domain-SpecificLanguages Paperback– January 23, 2013 , 560 pages Markus VoelterTelecom and Informatics16

Supporting literature – EMF and GMF Book: Eclipse Modeling Framework (2nd Edition) (Paperback) Dave Steinberg (Author), Frank Budinsky (Author), Marcelo Paternostro(Author), Ed Merks (Author) Book: Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit(Paperback) Richard C. GronbackTelecom and Informatics17

1 million copies sold30 languagesTelecom and Informatics18

October, 2014Telecom and Informatics19

Value Network omTelecom and Informatics20

Open Services InnovationBook:January 2011Telecom and Informatics

Service m and InformaticsBook:201422

Authors:Marc Stickdorn,Jakob SchneiderTelecom and Informatics23

Software engineering practices andmethods modelbased.net practices.modelbased.net A practices framework, SEMAT, www.semat.orgTelecom and Informatics24

Book is available now – Safaribooksonline/Addison Wesley25

The KernelThe Kernel is describedusing a small subset of theLanguage.A stripped-down,lightweight set ofdefinitions that capturesthe essence of effective,scalable softwareengineering in a practiceindependent way.26

Alphas: The Essential Things to Work WithCustomerSolutionEndeavor27

Alphas: ExampleRequirementsDescriptionWhat the software system must do to address the opportunity and satisfy the stakeholders.It is important to discover what is needed from the software system, share this understanding among the stakeholders and theteam members, and use it to drive the development and testing of the new system.Associationsscopes and constrains : Work28

Activity Spaces: The Essential Things to DoExplorePossibilitiesUnderstand theRequirementsPrepare to dothe WorkUnderstandStakeholder NeedsShapethe SystemImplement theSystemCoordinateActivityEnsure StakeholderSatisfactionTestthe SystemSupport the TeamDeploythe SystemTrack ProgressUse the SystemOperatethe SystemStop the Work29

Update to the course in 2015 We will start with a focus on enterprise architecture andbusiness architecture and service innovation and businessprocess modeling, illustrated with various new modelingtools. In part two we will focus on practical model drivensoftware development of Mobile Apps with Bluetoothconnected sensors – using IFML and WebRatio andSystem Architectures - with UML and UML profiles andwith the transformations to mobile platforms, in particularfor Android Smart phones and web apps. The third part will focus on the creation of Model DrivenEngineering tools – i.e. to make a graphical editor withtransformation possibilities.Telecom and Informatics30

New content started in 2012,continued in 2015 Continued focus on “Service Science” – with ServiceInnovation (with BI/NHH), Service Design (OAH) andService Engineering (UIO) VNA – Value Network Analysis, Verna AlleeNew standard: OMG MDA standard: VDML, ESSENCEService Design: AT ONEBusiness Model Innovation: Osterwalder/LindgrenTelecom and Informatics31

Requirements for the course Student at UIO Only assumption is basic knowledge of UML and Java(but not necessarily UML 2.0) Links to other courses on software engineering, userinteraction etc.Telecom and Informatics32

Exam Case-based (ref. earlier exams) All written material can be used 4 hours Monday June 1st, 2015Telecom and Informatics33

OMG Model-Driven Architecture (MDA)www.omg.org/mdaTelecom and Informatics34

Automation in Software gh-level spec(functional andnonfunctional)Source indomain-specificlanguage (DSL)Source indomain-specificlanguage (DSL)CompileSource in ageneral-purposelanguage, e.g.,Java or C CompileImplementation(may generatecode inJava or C )Compile(may generatecode inJava or C omatedsupportCompileImplementationTelecom and Informatics35

ComputationalIndependentModelBPMN, POP*, ARIS,ArchiMate,GERAM, GRAI, Zachman,UEML, formSpecificModel/CodeMDACIM, PIMandPSM/CodeBPDM, SBVR,EDOC,UPMS,PIM4SOA, ODMPIMADMUML profiles andmetamodels for JavaJEE, BPEL, WSDL,PSMXML, XPDL,OWL-S, WSML, WSDL-SADMBPEL, WSDL, XML, XPDL,OWL-S, WSML, WSDL-SCode, Java JEE, .Telecom and Informatics36

Which OMG modeling standards willyou learn ? UML 2.0 – what is new in version 2VDML – Value Delivery Modeling Language – with VNASoaML – SOA Modeling LanguageMDA – Model Driven ArchitectureBPMN 2.0 – Business Process Modeling NotationBMM Business Motivation ModelSysML – Systems Engineering Modeling LanguageEssence – Software Engineering FrameworkSPEM – Software Process Engineering MetamodelQVT, MOF2Text – Query, View, Transformation See www.omg.orgTelecom and Informatics37

Which tools/environments will youlearn ? Agile team support - SymphonicalBMI – Business Model Innovation/Generation - StrategyzerBalsamiq – UI Mockups – for further UI modelingUML and BPMN modeling tools - MagicDrawAT ONE – Service Design – use of SmaplyVNA – Value Network AnalysisMagicDraw with UML and BPMNWebRatio - IFML for Web and Mobile AppsEclipse EMF and XMI, Principles of GMFSirius for EclipseEPF/SPEM Software Process ModelerOverview of ATL, MOFScript, KerMeta, OpenArchitectureWare-OAW, Telecom and Informatics38

WebRatioTelecom and Informatics39

Underlying technologiesTelecom and Informatics40

Mobile App ArchitectureTelecom and Informatics41

SiriusTelecom and Informatics42

SiriusTelecom and Informatics43

What is Enterprise Modelling?Enterprise Modelling (EM) is a capabilityfor externalising, making and sharingenterprise knowledge.EM tools can either be: used stand-alone to produce variouskinds of model views, integrated as front-ends to othersystems, part of an environment providing acontextual user-environment.Telecom and Informatics44

Why Enterprise Architecture?How can I use bestHow can Iinvolve my peoplein improving theperformance of thebusiness?practices to ensurethe success of thebusiness?How can Iensure that the IStechnologyhelps the work ofmy people?Telecom and Informatics?45

Representations of ArchitectureARISZACHMANGERAMEKA POPSEN/ISO 19439NISTAthena OEATelecom and Informatics46

Three Views inDOD Architecture Framework and C4ISR-AFTelecom and Informatics47

Zachman Framework – for EnterpriseArchitecture (IBM, 1987)VA EnterpriseArchitectureDATAWhatFUNCTI ONHowNETW ORKWherePEOPLEWhoTIMEWhenMOTIVATI ONWhySCOPE(CONTEXTUAL)Things Im portantto the ntOrganizationsEv ents Signific antto the BusinessBusiness Goalsand StrategyPlannerEntity Class ofBusiness ThingFunction Class ofBusiness ProcessNode MajorBusiness LocationsPeople MajorOrganizationsTime MajorBusiness EventEnds/Means Major Business GoalsENTERPRISEMODEL(CONCEPTU AL)Semantic ModelBusiness ProcessModelBusiness Logistic sSystemWork Flow ModelMaster ScheduleBusiness PlanOwnerEnt Business EntityProc Business ProcessRel Business Relationship I/O Business ResourcesNode Business Location People Organization Unit Time Business EventLink Business LinkageWork Work ProductCycle Business CycleEnd Business Objectiv eMeans Business StrategySYSTEM MODEL(LOGICAL)Logical DataModelApplicationArchitectureDistributed SystemArchitectureProcessingStructureBusiness RuleModelDesignerEnt Data EntityRel Data RelationshipProc Application Function Node IS FunctionPeople RoleI/O User ViewsLink Line Characteristics Work Deliv erableTime System EventCycle Processing CycleEnd Structural AssertionMeans Action AssertionTECHNOLOGYMODEL(PHYSICAL)Physical lderEnt Segment/TableRel Pointer/KeyProc Computer Function Node Hardware/Softw are People UserI/O Data Elements /Sets Link Line Specifications Work Screen FormatTime Ex ecuteEnd ConditionCycle Component Cycle Means uleDesignDataDETAI LEDREPRESENTATI ONS Definition(OUT-OF-CONTE XT)TechnologyArchitectureNetw orkArchitectureHuman ontractorEnt FieldRel AddressProc Language Statement Node AddressesI/O Control BlockLink ProtocolsPeople IdentityWork JobTime InterruptCycle Machine CycleEnd Sub-ConditionMeans StepFUNCTIONI NGENTERPRISEDataFunctionNetw orkOrganizationScheduleStrategyEnt Rel Proc I/O Node Link People Work Time Cycle End Means DATAWhatFUNCTI ONHowNETW ORKWherePEOPLEWhoTIMEWhenBased on work byJohn A. CEPTU AL)OwnerSYSTEM lderDETAI NCTI ONINGENTERPRI SEMOTIVATI ONWhyTelecom and Informatics48

IT/Business architecture transformationTelecom and Informatics

BA Guild ModelTelecom and Informatics

TOGAF Content MetamodelTelecom and Informatics

MetamodelTelecom and Informatics

Enterprise Architecture andEnterprise EngineeringEnterpriseArchitectureFuture Essence-B rchitectureEssence now!SystemsSoftwareArchitecture(System eringFuture Essence-H?Future Essence-STelecom and InformaticsHardwareEngineering

TOGAF 9Telecom and Informatics54

UPDM RFC - Domain Meta Model SummaryTelecom and Informatics

Zachman with OMG t of things importantto businessList of processes thatthe business ntic ModelBusiness ProcessModelBusiness LogisticsSystemWorkflow ModelMaster ScheduleBPMN, CMPMBPMN, CMPM,DTFVBusinessPlanBPMN, CMPMOSM, BPMN,CMPMSystem(Logic)Logical Data tion(Instances)ODM,IMM (CWM)Network(Where)People(Who)Time(When)List of locations whichList of organizationsList of events/cyclesthe business operates important to the business important to the businessODM,IMM (CWM), UMLApplicationArchitectureDistributedSystem ArchitectureHuman InterfaceArchitectureSoaML, UMLSoaML, UMLBPMN, CMPMPhysical Data ModelSystem DesignIMM (CWM), UMLSoaML, UMLTechnologyArchitectureData DefinitionProgramIMM (CWM), UMLUMLDataFunctionSoaML, ectureProcess StructureBPMN, CMPM,DTFVControl StructureMotivation(Why)List of businessgoals/strategiesSBVRBusiness RuleModelSBVRRuleDesignBPMN, elecom and Informatics56

OMG standards ist of locationsVDMwhichthe businessScope(Contexts)List of thingsimportantto businessList of processesthat the businessperformsoperatesBusiness(Concepts)Semantic )Motivation(Why)List of events/cyclesimportant to thebusinessList of ctureBusiness RuleModelOSMList of organizationsimportant to thebusinessBPMNBMMCMPMSystem(Logic)Logical Data sical Data ModelIMM(CWM)System es)Data egySoaMLUMLTelecom and InformaticsSBVR57

Models on Different Abstraction LevelsTelecom and Informatics58

Agile Service Development FrameworkTelecom and Informatics59

CSI Norway – Center for Service Innovationled by Norwegian Business School, Bergen, SINTEF, AOH, Telenor,.(National Center for Research Driven Innovation (SFI) – 20 Meurobudget, 8 years 2011 – 2018)Telecom and Informatics

CSI planned ActivitiesTelecom and Informatics

Businss Model InnovationThe Business Model CanvasTelecom and Informatics

Strategyzer (Osterwalder)Telecom and Informatics63

Value PropositionCanvasValue offer(Opportunity)Value needs (Requirements)Telecom and Informatics64

BMI – Canvases/ModelsTelecom and Informatics65

Telecom and Informatics

VDML – Value ModelingStandard proposal, Nov. 2012final 2013Telecom and Informatics67

AT ONE Service DesignTelecom and Informatics68

Telecom and Informatics69

Services Architecture (SoaML)A – ActorsValue Network (VDML)Services Architecture (Business-SoaML)Hybrid notation Participants (from Value Network) Conversation (from BPMN 2.0) Groups a set of FlowsTelecom and Informatics70

T – TouchpointsService Journey Map Service Journey:Chronologicalmapping (from thecustomer point ofview) of a serviceencounter. Model as "Stages" Attach touchpoints tothe different stages Library of differenttypes of touchpointsto select from.Telecom and Informatics71

O – OfferingsService Contract Detailing of theconversation. Conversation isthe grouping offlows (messages). Service Contractdefines theinterfaces on bothside (structure)and the protocol(behaviour) forhow to use theseinterfaces.Telecom and Informatics72

N – NeedsGoals and Objectives We have not yet implementedmodelling support for needs. One idea is to use a very smallsubset of BMM (BusinessMotivation Model) standard. Goal: a statement about a stateor condition of the enterprise tobe brought about or sustainedthrough appropriate Means (i.e.,Offerings expressed as ServiceContracts). Objective: An Objective is astatement of an attainable, timetargeted, and measurable targetthat the enterprise seeks to meetin order to achieve its GoalsExample of Goals and Objectives diagramTelecom and Informatics73

E – ExperiencesExperiences The idea is to extend the Service Journey Map. Each user/customer capture experiences (emotional icons)related to each touchpoints and deviations in the ideal/expectedjourney (seen from a Service Provider side).Ref. alsomyServiceFellow smart phone appTelecom and Informatics74

Business Motivation Model (BMM) withMeansRealizationsTelecom and Informatics

What is BPMN (Business ProcessModeling Notation) ?Telecom and Informatics

BPMN exampleTelecom and Informatics

Telecom and Informatics78Extending COMET for SOA (1)

EPF Composer EPF Composer isa tool platform forprocess engineers,project leads, projectand program managerswho are responsiblefor mainteining andimplementing processesfor development organizations or individual projects Aims to: provide for development practitioners a knowledge base of intelectualcapital that allows them to browse, manage and deploy content. provide process engineering capabilities by supporting processeengineers and project managers in selecting, tailoring, and rapidlyassembling processes for their concrete development process.Telecom and Informatics

System and objectsA system is a part of the real world which we choose to regardas a whole, separated from the rest of the world during someperiod of consideration.A whole that we choose to consider as a collection of objects,each object being characterized by attributes and by actionswhich may involve itself and other objects.Mental modellReal-WorldphenomenonManifest ModelTelecom and Informatics80

Next Lecture, January 26, 2014Business Model Innovation – Business ModelCanvas and Value Proposition Canvas Business Model Canvas – Osterwalder/Strategyzer.com Guest Lecture – Prof. Dr. Peter Lindgren, AarhusUniversity – on Business Model Cube and SensingBusiness Models Introduction to OBLIGS 1 and 2, "SenseIT" company withMobile Apps for Bluetooth connected UV sensor etc.Telecom and Informatics81

Model-Driven Software Engineering in Practice (Brambilla & al) ESSENCE book Eclipse EMF og Graphiti Model driven engineering, transformation technologies (M2M, M2T) MDE and DSL in practice, with ThingML and CloudML System Architecture and Service Engineerin