SlideShare ist ein Scribd-Unternehmen logo
1 von 39
In collaboration with




The PISA Project
A Model Driven Development case study
Pedro J. Molina, PhD.
May 19th, 2007
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 1
Timetable

     15:30 H




               Presentation

                              65 min.
     16:35 H



     16:45 H
                  Q&A         10 min.




                                        Capgemini Spain / Tecnology Services
                                                     The PISA Project, May 19th 2007
                                              © 2007 Capgemini - All rights reserved 2
Introduction

        Collaboration project between:

         • Bancaja is a Spanish bank with 1000 branches across Spain
               − Headquarters located in Valencia



         • Capgemini is a global company with 50.000 employees
           providing solutions for consulting, technology & outsourcing.


         PISA: Architecture for software & infrastructure platform.




                                                     Capgemini Spain / Tecnology Services
                                                                  The PISA Project, May 19th 2007
                                                           © 2007 Capgemini - All rights reserved 3
PISA Scope

    • Migration of the Financial Terminal
       − 2 years, 15 people involved (avg. full-time)
       − O.S. migration in the front-end
             Windows NT       Windows XP …        Windows Vista

       − Components written in VC++, VB4. Recompiled and
         migrated to VC++ & C# .NET
       − Redesign of the financial platform to take advantage of
         the new capabilities
       − Family of 2500 business functions to be migrated
       − Semi-automated tools to migrate old applications to the
         new model




                                                          Capgemini Spain / Tecnology Services
                                                                       The PISA Project, May 19th 2007
                                                                © 2007 Capgemini - All rights reserved 4
Infrastructure Scope

                       Back-end
                        •   Host based IBM CICS system
                        •   Oracle DBs
  BD    Back-end        •   Sql Server DBs
                        •   3rd parties Web Services

                       Front-End
                        • 5000 computers
       Middle-ware      • across 1000 branches

                        • Windows XP
                        • Specialized Financial Devices
                             − Check’s scanners
                             − Financial Printers
        Front-end

                                         Capgemini Spain / Tecnology Services
                                                      The PISA Project, May 19th 2007
                                               © 2007 Capgemini - All rights reserved 5
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 6
Goals

Productivity gain

Better workload variability management

Technology independence

Protection of the house processes and Know-How against
future migration waves

Reduce maintenance costs
  • Unique IDE (integrated development environment)



                                                      Capgemini Spain / Tecnology Services
                                                                   The PISA Project, May 19th 2007
                                                            © 2007 Capgemini - All rights reserved 7
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 8
Foundations

 Model Driven Development
  • Usage of models to capture business in a declarative way
  • Models used to lead & drive the software life cycle
     − From analysis to implementation
     − Models validated formally

 Separation of Concerns
  • Separation of core-business from technological issues

 Code Generation and automated deploy
  • Used to guarantee:
     −   No human errors, robust code
     −   Compliance with standards
     −   Controlled execution environment
     −   Reduce tampering opportunities

 Pragmatic approach
  • Full 100% Code Generation seen as an utopia
  • Looking to solve 80%-20% scenarios


                                                            Capgemini Spain / Tecnology Services
                                                                         The PISA Project, May 19th 2007
                                                                  © 2007 Capgemini - All rights reserved 9
Novak’s Rule


“Automatic Programming is defined as the synthesis
 of a program from a specification.

If automatic programming is to be useful, the
  specification must be smaller and easier to write
  than the program would be if written in a
  conventional programming language.”

                                          G.S. Novak.


                                         Capgemini Spain / Tecnology Services
                                                      The PISA Project, May 19th 2007
                                               © 2007 Capgemini - All rights reserved 10
Economics of MDD

Economies of Scale
  • The condition where inputs like resources are combined to produce
    multiples instances of a single product.

  • However multiple instances in SW are valueless.
     − SW copy cost    0€


Economies of Scope
  • The condition where inputs are combined to produce different
    instances of products. The cost of producing them together is
    smaller than producing them in different production lines. Saving is
    achieved thanks to the reuse of common parts.




                                                       Capgemini Spain / Tecnology Services
                                                                    The PISA Project, May 19th 2007
                                                             © 2007 Capgemini - All rights reserved 11
Domain Engineering & Software Factory Approach
                             Investment
    Domain Engineering


                             Feedback:
                                    Customer suggestions
  Application Development           App. Engineers suggestions
        Workbench




   Application Engineering




                                    ROI
         Aplications


                                          Capgemini Spain / Tecnology Services
                                                       The PISA Project, May 19th 2007
                                                © 2007 Capgemini - All rights reserved 12
Model Driven Development

       Model / PIM         Characteristics:
                           •   Forward Engineering (no reverse
                               engineering)
         Refine /          •   Value is in the model. Code is
        Transform              discarded in each iteration.
                           •   Technology Independent.

    Design Model / PSM
                           Tools:
                              •     Editors / Modelers
           …                  •     Validators
                              •     Code Generators
                              •     3Gen Development tools
       Applications




                                              Capgemini Spain / Tecnology Services
                                                           The PISA Project, May 19th 2007
                                                    © 2007 Capgemini - All rights reserved 13
Economics
        Traditional cost = N · CT
        Domain engineering cost = I + N · CF
                                                                          Saving
                                                                        SF = CT - CF
        5 CT

        4 CT

                                                       ROI
        3 CT
Costs




        2 CT
                  I
                                          In this domain, there is an order of
                                               magnitude of 2000-2500
          CT
                                               business applications!!

                       1       2       3       4       5
                                      Family members
                                                             Capgemini Spain / Tecnology Services
                                                                          The PISA Project, May 19th 2007
                                                                   © 2007 Capgemini - All rights reserved 14
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 15
Modelling the business

 Aspects to be model        Possible representations
  •   Navigation diagrams    •   Graphical / Visual DSL
  •   Presentation           •   Graphical / 2D layout
  •   Presentation logic     •   Textual / Grammatical based
  •   Flow Mapping           •   Hierarchical (tree) form
  •   Service Consumption    •   Tabular form

                            Selection:
                             • Each aspect requires an specific
                               representation form




                                             Capgemini Spain / Tecnology Services
                                                          The PISA Project, May 19th 2007
                                                   © 2007 Capgemini - All rights reserved 16
Defining the Metamodel

 6 moths working with experts in the domain
 Studding the domain and deciding:
  • The Variable part  To be modelled
  • The Immutable part   To be incorporated in the runtime

 Trade-off between Parameterization vs Standardization

“Lo bueno, si breve, dos veces bueno.”
       B. Gracián, (XVII)

“Everything should be as simple as possible, but no simpler.”
         A. Einstein, (XX)



                                                            Capgemini Spain / Tecnology Services
                                                                         The PISA Project, May 19th 2007
                                                                  © 2007 Capgemini - All rights reserved 17
Solution

 Solution provided
  • Design of the new platform
  • Component Migration
  • Development of the new components
  • Design and implementation of an specification for all business
    functions based on XML, Schema and a tailored abstract-action
    language.
  • Design and implementation of a full DSL language workbench for
    specifying business functions independently of the implementation
    technology
  • Design and implementation of a code generation to produce the
    working implementation over the platform.
  • Implementation of semi-automatic migration tools to help in the
    transition between models.


                                                     Capgemini Spain / Tecnology Services
                                                                  The PISA Project, May 19th 2007
                                                           © 2007 Capgemini - All rights reserved 18
Technology

Platform
  • .NET Platform, C# and Interop to legacy C++ DLL


Application Workbench
  •   Visual Studio (full integration)
  •   MS DSL Tools
  •   Custom parser for a customized language (Antlr based)
  •   Extension Packages to provide Custom Parsing in VS2005
  •   Code generator implemented in C#
       − Generates 100% of code. Fully automated.
       − No manual code is allowed to be inserted in the implementation




                                                            Capgemini Spain / Tecnology Services
                                                                         The PISA Project, May 19th 2007
                                                                  © 2007 Capgemini - All rights reserved 19
Workbench Architecture Overview




                                  Capgemini Spain / Tecnology Services
                                               The PISA Project, May 19th 2007
                                        © 2007 Capgemini - All rights reserved 20
Tools implemented

 PISA Workbench
  • Modelling tool built on the top of Visual Studio 2005
     − VS extensibility, parsers, intellisense™, DSL Tools


 PISA Validator
  • Checks a model and reports errors & warnings

 PISA Code Generator
  • Converts an specification into a 100% executable C# .NET code


 PISA Runtime
  • Components and helper libraries to support the runtime enviroment



                                                             Capgemini Spain / Tecnology Services
                                                                          The PISA Project, May 19th 2007
                                                                   © 2007 Capgemini - All rights reserved 21
MS DSL Tools

 In beta for 2 years
 Version 1.00 released in September 2006
 Early adopters, but not sure about it feasibility till v. 1.0
 Now already integrated into the solution


 Used for designing the User Interface navigation of the business
 application in terms of views and navigation.


 DSL has a moderate/high learning curve. Once learned it is
 productive to build new diagrams.



                                                            Capgemini Spain / Tecnology Services
                                                                         The PISA Project, May 19th 2007
                                                                  © 2007 Capgemini - All rights reserved 22
Example DSL. Navigational Diagram




                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 23
Development Workbench 1/4

Workbench
integrated in Visual
Studio




                            Capgemini Spain / Tecnology Services
                                         The PISA Project, May 19th 2007
                                  © 2007 Capgemini - All rights reserved 24
Development Workbench 2/4

 Custom action
 language

 Colored syntax

 Intellisense support




                            Capgemini Spain / Tecnology Services
                                         The PISA Project, May 19th 2007
                                  © 2007 Capgemini - All rights reserved 25
Development Workbench 3/4

Error handling
integrated in Visual
Studio




                            Capgemini Spain / Tecnology Services
                                         The PISA Project, May 19th 2007
                                  © 2007 Capgemini - All rights reserved 26
Development Workbench 4/4

DSL example

Navigational
diagram




                             Capgemini Spain / Tecnology Services
                                          The PISA Project, May 19th 2007
                                   © 2007 Capgemini - All rights reserved 27
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 28
In collaboration with




Demo
Recording:
Modelling a simple Business Function
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 30
Problems 1/3

  People reluctant to change
  •   Part of the traditional programmers feel conformable and
      productive with their current tools.
  •   They are experts in such tools and are reluctant to change to a
      new work method.

  How to address it
  •   Involve them in the design
  •   Show the benefits of the new approach
  •   Educate the developers to be able to take full advantage of the
      new system




                                                       Capgemini Spain / Tecnology Services
                                                                    The PISA Project, May 19th 2007
                                                             © 2007 Capgemini - All rights reserved 31
Problems 2/3

  Code escapes
  •   The platform is closed enough to keep process under control,
      safety and homogeneous.
  •   However from time to time, new functionality has to be added or
      plugged to the system.
  •   The system should be ready to incorporate these extensions
      quickly.
  •   Otherwise, creative programmers will be tempted to by-pass the
      platform and add manual code in the wrong place.


  How to address it
  •   Have a dedicated team to study & implement new functionality
      required not present in the current system
  •   Give high priority to extensions to the platform without equivalents
      workarounds
                                                        Capgemini Spain / Tecnology Services
                                                                     The PISA Project, May 19th 2007
                                                              © 2007 Capgemini - All rights reserved 32
Problems 3/3

  Debugging tools
  •    A MDD approach raises the abstraction level from code to a
      conceptual one.
  •   Debugging ideally should be done at such conceptual level.

  How to address it
  •   With the actual technology, this is a hard topic to provide and
      implement.
  •   However animators, interpreters and model checkers could be
      helpful in the task.
  •   Generate clean and traceable source code.
      − This allows easy debugging in an environment with all this capabilities.




                                                            Capgemini Spain / Tecnology Services
                                                                         The PISA Project, May 19th 2007
                                                                  © 2007 Capgemini - All rights reserved 33
Contents


      Introduction
      Goals
      Foundations
      Design aspects & Trade-offs
      Demo
      Problems found
      Facts & Results
                                    Capgemini Spain / Tecnology Services
                                                 The PISA Project, May 19th 2007
                                          © 2007 Capgemini - All rights reserved 34
Benefits

 Increased Quality
  • Less coding errors
  • Compliance with standards assured by a generator

 Increased Productivity


 Migration cost to incoming technologies will considerably be
 reduced.

 Unique integrated development environment (IDE)
  • Covering Modelling, Debugging, Versioning & Deployment


                                                   Capgemini Spain / Tecnology Services
                                                                The PISA Project, May 19th 2007
                                                         © 2007 Capgemini - All rights reserved 35
Benefits


 Know-How captured in two orthogonal levels:

  • Business Know-How: captured in form of specifications: isolated
    from technological issues

  • Technological Know-How: captured in form of best practices and
    code patterns in the code generator.




                                                     Capgemini Spain / Tecnology Services
                                                                  The PISA Project, May 19th 2007
                                                           © 2007 Capgemini - All rights reserved 36
Distribution & defect cost
                       Traditional life cycle
                       MDD life cycle
                                                             Defect cost
Defects
                                                            exponential
  %




          Analysis   Design           Build     Maintenance

                      Snow ball effect
                                                  Capgemini Spain / Tecnology Services
                                                               The PISA Project, May 19th 2007
                                                        © 2007 Capgemini - All rights reserved 37
www.capgemini.com

Weitere ähnliche Inhalte

Andere mochten auch

Modelling and code generation in .NET at Icinetic
Modelling and code generation in .NET at IcineticModelling and code generation in .NET at Icinetic
Modelling and code generation in .NET at Icinetic
Pedro J. Molina
 
Civil department presentation
Civil department presentationCivil department presentation
Civil department presentation
thilinaakalanka
 
Ppt.on wipro by anil
Ppt.on wipro by anilPpt.on wipro by anil
Ppt.on wipro by anil
Anil Kumar
 

Andere mochten auch (20)

Modeling and Code Generation in the Cloud for Citizen Developers and Beyond
Modeling and Code Generation in the Cloud for Citizen Developers and BeyondModeling and Code Generation in the Cloud for Citizen Developers and Beyond
Modeling and Code Generation in the Cloud for Citizen Developers and Beyond
 
Scaling MDD for production: enabling SoC at model time
Scaling MDD for production: enabling SoC at model timeScaling MDD for production: enabling SoC at model time
Scaling MDD for production: enabling SoC at model time
 
TDD+CI con Teamcity
TDD+CI con TeamcityTDD+CI con Teamcity
TDD+CI con Teamcity
 
Modelling and code generation in .NET at Icinetic
Modelling and code generation in .NET at IcineticModelling and code generation in .NET at Icinetic
Modelling and code generation in .NET at Icinetic
 
MDD: Models, frameworks, & code generation
MDD: Models, frameworks, & code generationMDD: Models, frameworks, & code generation
MDD: Models, frameworks, & code generation
 
SVQDC 2017 Tecnologías para Microservicios
SVQDC 2017 Tecnologías para MicroserviciosSVQDC 2017 Tecnologías para Microservicios
SVQDC 2017 Tecnologías para Microservicios
 
Microservicios sobre MEAN Stack
Microservicios sobre MEAN StackMicroservicios sobre MEAN Stack
Microservicios sobre MEAN Stack
 
Tecnologías para microservicios
Tecnologías para microserviciosTecnologías para microservicios
Tecnologías para microservicios
 
Modeling on the Web
Modeling on the WebModeling on the Web
Modeling on the Web
 
Science breakthrough ii
Science breakthrough iiScience breakthrough ii
Science breakthrough ii
 
Modelling the User Interface
Modelling the User InterfaceModelling the User Interface
Modelling the User Interface
 
Code Generation for Conceptual User Interface Patterns
Code Generation for Conceptual User Interface PatternsCode Generation for Conceptual User Interface Patterns
Code Generation for Conceptual User Interface Patterns
 
Opensouthcode: Microservicios sobre MEAN Stack
Opensouthcode: Microservicios sobre MEAN StackOpensouthcode: Microservicios sobre MEAN Stack
Opensouthcode: Microservicios sobre MEAN Stack
 
Introducción a Angular
Introducción a AngularIntroducción a Angular
Introducción a Angular
 
CG2010 Introducing MDSD
CG2010 Introducing MDSDCG2010 Introducing MDSD
CG2010 Introducing MDSD
 
Introducing MDSD
Introducing MDSDIntroducing MDSD
Introducing MDSD
 
MDD - Desarrollo de software dirigido por modelos que funciona (de verdad!)
MDD - Desarrollo de software dirigido por modelos que funciona (de verdad!)MDD - Desarrollo de software dirigido por modelos que funciona (de verdad!)
MDD - Desarrollo de software dirigido por modelos que funciona (de verdad!)
 
An Introduction to Civil Engineering Cost Management
An Introduction to Civil Engineering Cost ManagementAn Introduction to Civil Engineering Cost Management
An Introduction to Civil Engineering Cost Management
 
Civil department presentation
Civil department presentationCivil department presentation
Civil department presentation
 
Ppt.on wipro by anil
Ppt.on wipro by anilPpt.on wipro by anil
Ppt.on wipro by anil
 

Ähnlich wie The PISA Project: a MDD case study

CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhanCWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
Capgemini
 
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
youzitang
 
Dnv Improving Your Process Performances With Agile
Dnv   Improving Your Process Performances With AgileDnv   Improving Your Process Performances With Agile
Dnv Improving Your Process Performances With Agile
George Ang
 

Ähnlich wie The PISA Project: a MDD case study (20)

Cwin16 tls-faurecia predictive maintenance
Cwin16 tls-faurecia predictive maintenanceCwin16 tls-faurecia predictive maintenance
Cwin16 tls-faurecia predictive maintenance
 
Ritesh_r1
Ritesh_r1Ritesh_r1
Ritesh_r1
 
CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhanCWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
CWIN17 India / sap i dc - automations in the ad world - 27sep2017- anil lakhan
 
To be or not to be Serverless
To be or not to be ServerlessTo be or not to be Serverless
To be or not to be Serverless
 
Model based systems engineering
Model based systems engineeringModel based systems engineering
Model based systems engineering
 
Dec2020 meetup mule.pptx
Dec2020 meetup mule.pptxDec2020 meetup mule.pptx
Dec2020 meetup mule.pptx
 
The Future of PLM
The Future of PLMThe Future of PLM
The Future of PLM
 
To be or not to be serverless
To be or not to be serverlessTo be or not to be serverless
To be or not to be serverless
 
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
 
UNLIMITED - Realtime Custom Applications
UNLIMITED - Realtime Custom ApplicationsUNLIMITED - Realtime Custom Applications
UNLIMITED - Realtime Custom Applications
 
Innovation and Change At the Speed of Your BusinessExecutive SummitVilla d´Este
Innovation and Change At the Speed of Your BusinessExecutive SummitVilla d´EsteInnovation and Change At the Speed of Your BusinessExecutive SummitVilla d´Este
Innovation and Change At the Speed of Your BusinessExecutive SummitVilla d´Este
 
AppCampus overview
AppCampus overviewAppCampus overview
AppCampus overview
 
OSAmI-Commons – an OSGi based platform supporting Open Ambient Intelligence f...
OSAmI-Commons – an OSGi based platform supporting Open Ambient Intelligence f...OSAmI-Commons – an OSGi based platform supporting Open Ambient Intelligence f...
OSAmI-Commons – an OSGi based platform supporting Open Ambient Intelligence f...
 
Javascript for Enterprise Application
Javascript for Enterprise ApplicationJavascript for Enterprise Application
Javascript for Enterprise Application
 
Implementing and Monetizing Solar & Storage Applications
Implementing and Monetizing Solar & Storage ApplicationsImplementing and Monetizing Solar & Storage Applications
Implementing and Monetizing Solar & Storage Applications
 
Nagios Conference 2011 - Christian Mies - German Health Insurance Company Ref...
Nagios Conference 2011 - Christian Mies - German Health Insurance Company Ref...Nagios Conference 2011 - Christian Mies - German Health Insurance Company Ref...
Nagios Conference 2011 - Christian Mies - German Health Insurance Company Ref...
 
European projects at ISPIM conference
European projects at ISPIM conferenceEuropean projects at ISPIM conference
European projects at ISPIM conference
 
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
Ppwithagileyannhamonqconbeijing 090423081417-phpapp02
 
Dnv Improving Your Process Performances With Agile
Dnv   Improving Your Process Performances With AgileDnv   Improving Your Process Performances With Agile
Dnv Improving Your Process Performances With Agile
 
Prodyna exhibiting at London Tech Job Fair Autumn 2019
Prodyna exhibiting at London Tech Job Fair Autumn 2019Prodyna exhibiting at London Tech Job Fair Autumn 2019
Prodyna exhibiting at London Tech Job Fair Autumn 2019
 

Mehr von Pedro J. Molina

Mehr von Pedro J. Molina (17)

MDE en la industria
MDE en la industriaMDE en la industria
MDE en la industria
 
Terraform
TerraformTerraform
Terraform
 
dotnetMalaga-2020 Gestión de la configuración en aplicaciones Web
dotnetMalaga-2020 Gestión de la configuración en aplicaciones WebdotnetMalaga-2020 Gestión de la configuración en aplicaciones Web
dotnetMalaga-2020 Gestión de la configuración en aplicaciones Web
 
Infrastructure as Code with Terraform
Infrastructure as Code with TerraformInfrastructure as Code with Terraform
Infrastructure as Code with Terraform
 
LangDev 2022 Metamodeling on the Web with Essential
LangDev 2022 Metamodeling on the Web with EssentialLangDev 2022 Metamodeling on the Web with Essential
LangDev 2022 Metamodeling on the Web with Essential
 
Are Startups for me?
Are Startups for me?Are Startups for me?
Are Startups for me?
 
Meow Demo
Meow DemoMeow Demo
Meow Demo
 
Essential as the base for Web DSLs
Essential as the base for Web DSLsEssential as the base for Web DSLs
Essential as the base for Web DSLs
 
ACM SIGCHI EICS-2019 Keynote. Quid, Pedro J. Molina
ACM SIGCHI EICS-2019 Keynote. Quid, Pedro J. MolinaACM SIGCHI EICS-2019 Keynote. Quid, Pedro J. Molina
ACM SIGCHI EICS-2019 Keynote. Quid, Pedro J. Molina
 
Esencia de Web Components
Esencia de Web ComponentsEsencia de Web Components
Esencia de Web Components
 
Esencia de web components
Esencia de web componentsEsencia de web components
Esencia de web components
 
OpenAPI 3.0.2
OpenAPI 3.0.2OpenAPI 3.0.2
OpenAPI 3.0.2
 
Quid
QuidQuid
Quid
 
Securizando por construcción mediante MDE
Securizando por construcción mediante MDESecurizando por construcción mediante MDE
Securizando por construcción mediante MDE
 
Building APIs with the OpenApi Spec
Building APIs with the OpenApi SpecBuilding APIs with the OpenApi Spec
Building APIs with the OpenApi Spec
 
Micro vs Nano (servicios)
Micro vs Nano (servicios)Micro vs Nano (servicios)
Micro vs Nano (servicios)
 
Diseño de APIs con OpenAPI
Diseño de APIs con OpenAPIDiseño de APIs con OpenAPI
Diseño de APIs con OpenAPI
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

The PISA Project: a MDD case study

  • 1. In collaboration with The PISA Project A Model Driven Development case study Pedro J. Molina, PhD. May 19th, 2007
  • 2. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 1
  • 3. Timetable 15:30 H Presentation 65 min. 16:35 H 16:45 H Q&A 10 min. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 2
  • 4. Introduction Collaboration project between: • Bancaja is a Spanish bank with 1000 branches across Spain − Headquarters located in Valencia • Capgemini is a global company with 50.000 employees providing solutions for consulting, technology & outsourcing. PISA: Architecture for software & infrastructure platform. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 3
  • 5. PISA Scope • Migration of the Financial Terminal − 2 years, 15 people involved (avg. full-time) − O.S. migration in the front-end Windows NT Windows XP … Windows Vista − Components written in VC++, VB4. Recompiled and migrated to VC++ & C# .NET − Redesign of the financial platform to take advantage of the new capabilities − Family of 2500 business functions to be migrated − Semi-automated tools to migrate old applications to the new model Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 4
  • 6. Infrastructure Scope Back-end • Host based IBM CICS system • Oracle DBs BD Back-end • Sql Server DBs • 3rd parties Web Services Front-End • 5000 computers Middle-ware • across 1000 branches • Windows XP • Specialized Financial Devices − Check’s scanners − Financial Printers Front-end Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 5
  • 7. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 6
  • 8. Goals Productivity gain Better workload variability management Technology independence Protection of the house processes and Know-How against future migration waves Reduce maintenance costs • Unique IDE (integrated development environment) Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 7
  • 9. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 8
  • 10. Foundations Model Driven Development • Usage of models to capture business in a declarative way • Models used to lead & drive the software life cycle − From analysis to implementation − Models validated formally Separation of Concerns • Separation of core-business from technological issues Code Generation and automated deploy • Used to guarantee: − No human errors, robust code − Compliance with standards − Controlled execution environment − Reduce tampering opportunities Pragmatic approach • Full 100% Code Generation seen as an utopia • Looking to solve 80%-20% scenarios Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 9
  • 11. Novak’s Rule “Automatic Programming is defined as the synthesis of a program from a specification. If automatic programming is to be useful, the specification must be smaller and easier to write than the program would be if written in a conventional programming language.” G.S. Novak. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 10
  • 12. Economics of MDD Economies of Scale • The condition where inputs like resources are combined to produce multiples instances of a single product. • However multiple instances in SW are valueless. − SW copy cost 0€ Economies of Scope • The condition where inputs are combined to produce different instances of products. The cost of producing them together is smaller than producing them in different production lines. Saving is achieved thanks to the reuse of common parts. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 11
  • 13. Domain Engineering & Software Factory Approach Investment Domain Engineering Feedback: Customer suggestions Application Development App. Engineers suggestions Workbench Application Engineering ROI Aplications Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 12
  • 14. Model Driven Development Model / PIM Characteristics: • Forward Engineering (no reverse engineering) Refine / • Value is in the model. Code is Transform discarded in each iteration. • Technology Independent. Design Model / PSM Tools: • Editors / Modelers … • Validators • Code Generators • 3Gen Development tools Applications Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 13
  • 15. Economics Traditional cost = N · CT Domain engineering cost = I + N · CF Saving SF = CT - CF 5 CT 4 CT ROI 3 CT Costs 2 CT I In this domain, there is an order of magnitude of 2000-2500 CT business applications!! 1 2 3 4 5 Family members Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 14
  • 16. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 15
  • 17. Modelling the business Aspects to be model Possible representations • Navigation diagrams • Graphical / Visual DSL • Presentation • Graphical / 2D layout • Presentation logic • Textual / Grammatical based • Flow Mapping • Hierarchical (tree) form • Service Consumption • Tabular form Selection: • Each aspect requires an specific representation form Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 16
  • 18. Defining the Metamodel 6 moths working with experts in the domain Studding the domain and deciding: • The Variable part To be modelled • The Immutable part To be incorporated in the runtime Trade-off between Parameterization vs Standardization “Lo bueno, si breve, dos veces bueno.” B. Gracián, (XVII) “Everything should be as simple as possible, but no simpler.” A. Einstein, (XX) Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 17
  • 19. Solution Solution provided • Design of the new platform • Component Migration • Development of the new components • Design and implementation of an specification for all business functions based on XML, Schema and a tailored abstract-action language. • Design and implementation of a full DSL language workbench for specifying business functions independently of the implementation technology • Design and implementation of a code generation to produce the working implementation over the platform. • Implementation of semi-automatic migration tools to help in the transition between models. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 18
  • 20. Technology Platform • .NET Platform, C# and Interop to legacy C++ DLL Application Workbench • Visual Studio (full integration) • MS DSL Tools • Custom parser for a customized language (Antlr based) • Extension Packages to provide Custom Parsing in VS2005 • Code generator implemented in C# − Generates 100% of code. Fully automated. − No manual code is allowed to be inserted in the implementation Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 19
  • 21. Workbench Architecture Overview Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 20
  • 22. Tools implemented PISA Workbench • Modelling tool built on the top of Visual Studio 2005 − VS extensibility, parsers, intellisense™, DSL Tools PISA Validator • Checks a model and reports errors & warnings PISA Code Generator • Converts an specification into a 100% executable C# .NET code PISA Runtime • Components and helper libraries to support the runtime enviroment Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 21
  • 23. MS DSL Tools In beta for 2 years Version 1.00 released in September 2006 Early adopters, but not sure about it feasibility till v. 1.0 Now already integrated into the solution Used for designing the User Interface navigation of the business application in terms of views and navigation. DSL has a moderate/high learning curve. Once learned it is productive to build new diagrams. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 22
  • 24. Example DSL. Navigational Diagram Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 23
  • 25. Development Workbench 1/4 Workbench integrated in Visual Studio Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 24
  • 26. Development Workbench 2/4 Custom action language Colored syntax Intellisense support Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 25
  • 27. Development Workbench 3/4 Error handling integrated in Visual Studio Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 26
  • 28. Development Workbench 4/4 DSL example Navigational diagram Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 27
  • 29. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 28
  • 31. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 30
  • 32. Problems 1/3 People reluctant to change • Part of the traditional programmers feel conformable and productive with their current tools. • They are experts in such tools and are reluctant to change to a new work method. How to address it • Involve them in the design • Show the benefits of the new approach • Educate the developers to be able to take full advantage of the new system Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 31
  • 33. Problems 2/3 Code escapes • The platform is closed enough to keep process under control, safety and homogeneous. • However from time to time, new functionality has to be added or plugged to the system. • The system should be ready to incorporate these extensions quickly. • Otherwise, creative programmers will be tempted to by-pass the platform and add manual code in the wrong place. How to address it • Have a dedicated team to study & implement new functionality required not present in the current system • Give high priority to extensions to the platform without equivalents workarounds Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 32
  • 34. Problems 3/3 Debugging tools • A MDD approach raises the abstraction level from code to a conceptual one. • Debugging ideally should be done at such conceptual level. How to address it • With the actual technology, this is a hard topic to provide and implement. • However animators, interpreters and model checkers could be helpful in the task. • Generate clean and traceable source code. − This allows easy debugging in an environment with all this capabilities. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 33
  • 35. Contents Introduction Goals Foundations Design aspects & Trade-offs Demo Problems found Facts & Results Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 34
  • 36. Benefits Increased Quality • Less coding errors • Compliance with standards assured by a generator Increased Productivity Migration cost to incoming technologies will considerably be reduced. Unique integrated development environment (IDE) • Covering Modelling, Debugging, Versioning & Deployment Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 35
  • 37. Benefits Know-How captured in two orthogonal levels: • Business Know-How: captured in form of specifications: isolated from technological issues • Technological Know-How: captured in form of best practices and code patterns in the code generator. Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 36
  • 38. Distribution & defect cost Traditional life cycle MDD life cycle Defect cost Defects exponential % Analysis Design Build Maintenance Snow ball effect Capgemini Spain / Tecnology Services The PISA Project, May 19th 2007 © 2007 Capgemini - All rights reserved 37