MDA Model Driven Architecture
description
Transcript of MDA Model Driven Architecture
MDAMDAModel Driven ArchitectureModel Driven Architecture
Eduardo ScozEduardo Scoz
OverviewOverview Different approach for SD: ModelsDifferent approach for SD: Models
Automated tools can generate the codeAutomated tools can generate the code
Rising of the abstraction levelRising of the abstraction level 1st gen: assembly1st gen: assembly 2nd gen: programming languages2nd gen: programming languages 3rd gen: business models3rd gen: business models
Ideal for business softwareIdeal for business software
MDA backgroundMDA background OMG – Object Management GroupOMG – Object Management Group
Largerst software industry consortiumLargerst software industry consortium 800+ members800+ members CORBA/IIOP, UMLCORBA/IIOP, UML
MDA started on 2000MDA started on 2000 Help address integration in the internetHelp address integration in the internet Evolution of UML - Platform independence Evolution of UML - Platform independence
ComponentsComponentsPIM PIM Platform Independent Platform Independent ModelModel• UML + QVT + CWMUML + QVT + CWM
PSMPSMPlatform Specific ModelPlatform Specific Model• .NET, JAVA.NET, JAVA
CodeCode
ModelsModels
TransformationsTransformations
• Heavy use of toolsHeavy use of tools• Future: two-way transformationsFuture: two-way transformations
Set of rules that specify how one model can be Set of rules that specify how one model can be used to create another one.used to create another one.
MDA LifecycleMDA Lifecycle
MDA and Development MDA and Development ProcessesProcesses
AgileAgile Minimize documentation X use only Minimize documentation X use only
documentationdocumentation Documents are only created if they are neededDocuments are only created if they are needed
Extreme programmingExtreme programming Development on the code level is not encouragedDevelopment on the code level is not encouraged ““Extreme modelling”Extreme modelling”
RUPRUP MDA works together with RUPMDA works together with RUP Many artifacts from the RUP can be used – UMLMany artifacts from the RUP can be used – UML A different path for MDAA different path for MDA
MDA ToolsMDA Tools Tools are standards based, not proprietaryTools are standards based, not proprietary Integration of modeling and developmentIntegration of modeling and development 70-80% of the structural code can be 70-80% of the structural code can be
generatedgenerated Test Cases can be generated from OCLTest Cases can be generated from OCL Many different aspectsMany different aspects
Archetype patternsArchetype patterns
Available ToolsAvailable Tools Large organizationsLarge organizations
Interative Objects Interative Objects ArcStyler 4.0 - leaderArcStyler 4.0 - leader IBM Rational Tools IBM Rational Tools KabiraKabira Kennedy Carter iUMLKennedy Carter iUML
Opensource toolsOpensource tools AndroMDA AndroMDA UMT + XDocletUMT + XDoclet OpenMDXOpenMDX
BenefitsBenefits ProductivityProductivity
Focused on the business problemFocused on the business problem Work independently of platform detailsWork independently of platform details Case study – PetStoreCase study – PetStore
Traditional team took 507.5 hoursTraditional team took 507.5 hours MDA team took 330 hours (35% less)MDA team took 330 hours (35% less)
Portability Portability Business logic is independent of any Business logic is independent of any
platform (PIM)platform (PIM) Maintenance and DocumentationMaintenance and Documentation
ProblemsProblems UMLUML Few Tools availableFew Tools available
Tools still do not support all aspects of MDATools still do not support all aspects of MDA
MDA is a technology in its infancyMDA is a technology in its infancy Many standards are being defined right nowMany standards are being defined right now Tools are being developedTools are being developed
MDA AdoptionMDA Adoption Early adoptersEarly adopters
20+ success stories on 20+ success stories on www.omg.orgwww.omg.org Austrian Railways Austrian Railways
35% savings 35% savings Railways usage billing system - Aprox 400.000 records per dayRailways usage billing system - Aprox 400.000 records per day
Lockheed MartinLockheed Martin F-16 Modular Mission Computer Application SoftwareF-16 Modular Mission Computer Application Software 100% of ADA code generated100% of ADA code generated
OMG FastStart programOMG FastStart program
Many of large organizations are supporting MDAMany of large organizations are supporting MDA Borland, Sun, IBM, Herzum software, Fujitsu, HP, etc...Borland, Sun, IBM, Herzum software, Fujitsu, HP, etc...
Questions?Questions?