MDA Explained: The Model Driven Architecture™: Practice and Promise

Book description

"Jos Warmer’s work has contributed greatly to the semantics of the UML. From that perspective, and in this book, he offers insight on how one can and can’t use the UML to move to the next level of abstraction in building systems."
—Grady Booch

Experienced application developers often invest more time in building models than they do in actually writing code. Why? Well-constructed models make it easier to deliver large, complex enterprise systems on time and within budget. Now, a new framework advanced by the Object Management Group (OMG) allows developers to build systems according to their core business logic and data—independently of any particular hardware, operating system, or middleware.

Model Driven Architecture (MDA) is a framework based on the Unified Modeling Language (UML) and other industry standards for visualizing, storing, and exchanging software designs and models. However, unlike UML, MDA promotes the creation of machine-readable, highly abstract models that are developed independently of the implementation technology and stored in standardized repositories. There, they can be accessed repeatedly and automatically transformed by tools into schemas, code skeletons, test harnesses, integration code, and deployment scripts for various platforms.

Written by three members of OMG’s MDA standardization committee, MDA Explained gives readers an inside look at the advantages of MDA and how they can be realized. This book begins with practical examples that illustrate the application of different types of models. It then shifts to a discussion at the meta-level, where developers will gain the knowledge necessary to define MDA tools.

Highlights of this book include:

  • The MDA framework, including the Platform Independent Model (PIM) and Platform Specific Model (PSM)

  • OMG standards and the use of UML

  • MDA and Agile, Extreme Programming, and Rational Unified Process (RUP) development

  • How to apply MDA, including PIM-to-PSM and PSM-to-code transformations for Relational, Enterprise JavaBean (EJB), and Web models

  • Transformations, including controlling and tuning, traceability, incremental consistency, and their implications

  • Metamodeling

  • Relationships between different standards, including Meta Object Facility (MOF), UML, and Object Constraint Language (OCL)

  • The advent of MDA offers concrete ways to improve productivity, portability, interoperability, maintenance, and documentation dramatically. With this groundbreaking book, IT professionals can learn to tap this new framework to deliver enterprise systems most efficiently.



    032119442XB03242003

    Table of contents

    1. Copyright
    2. The Addison-Wesley Object Technology Series
    3. The Component Software Series
    4. Foreword
    5. Preface
    6. Introduction
      1. Who Should Read This Book
      2. How This Book Should Be Used
      3. Typeface Conventions
      4. Information on Related Subjects
      5. Book Support and Example Implementation
      6. Acknowledgments
    7. 1. The MDA Development Process
      1. 1.1. Traditional Software Development
        1. 1.1.1. The Productivity Problem
        2. 1.1.2. The Portability Problem
        3. 1.1.3. The Interoperability Problem
        4. 1.1.4. The Maintenance and Documentation Problem
      2. 1.2. The Model Driven Architecture
        1. 1.2.1. The MDA Development Life Cycle
          1. Platform Independent Model
          2. Platform Specific Model
          3. Code
          4. Raising the Level of Abstraction
        2. 1.2.2. Automation of the Transformation Steps
      3. 1.3. MDA Benefits
        1. 1.3.1. Productivity
        2. 1.3.2. Portability
        3. 1.3.3. Interoperability
        4. 1.3.4. Maintenance and Documentation
      4. 1.4. MDA Building Blocks
      5. 1.5. Summary
    8. 2. The MDA Framework
      1. 2.1. What Is a Model?
        1. 2.1.1. Relationships between Models
      2. 2.2. Types of Models
        1. 2.2.1. Business and Software Models
        2. 2.2.2. Structural and Dynamic Models
        3. 2.2.3. Platform Independent and Platform Specific Models
        4. 2.2.4. The Target Platforms of a Model
      3. 2.3. What is a Transformation?
        1. 2.3.1. Transformations between Identical Languages
      4. 2.4. The Basic MDA Framework
      5. 2.5. Examples
        1. 2.5.1. Public and Private Attributes
        2. 2.5.2. Associations
      6. 2.6. Summary
    9. 3. MDA Today
      1. 3.1. OMG Standards
        1. 3.1.1. OMG Languages
        2. 3.1.2. OMG Language and Transformation Definitions
      2. 3.2. UML as PIM Language
        1. 3.2.1. Plain UML
        2. 3.2.2. Executable UML
        3. 3.2.3. UML–OCL Combination
      3. 3.3. Tools
        1. 3.3.1. Support for Transformations
          1. PIM to PSM Transformation Tools
          2. PSM to Code Transformation Tools
          3. PIM to Code Transformation Tools
          4. Tunable Transformation Tools
          5. Transformation Definition Tools
        2. 3.3.2. Categorizing Tools
          1. Selecting Tools
      4. 3.4. Development Processes
        1. 3.4.1. Agile Software Development
        2. 3.4.2. Extreme Programming
        3. 3.4.3. Rational Unified Process (RUP)
      5. 3.5. Summary
    10. 4. Rosa's Application of MDA
      1. 4.1. Rosa's Breakfast Service
        1. 4.1.1. The Business
        2. 4.1.2. The Software System
      2. 4.2. Applying the MDA Framework
        1. 4.2.1. The PIM and PSMs
        2. 4.2.2. The PIM to PSM Transformations
        3. 4.2.3. The PSM to Code Model Transformations
        4. 4.2.4. Three Levels of Abstraction
      3. 4.3. The PIM in Detail
      4. 4.4. Summary
    11. 5. Rosa's PIM to Three PSMs
      1. 5.1. The PIM to Relational Transformation
      2. 5.2. The PIM to EJB Transformation
        1. 5.2.1. A Coarse Grained EJB Model
        2. 5.2.2. The Transformation Rules
      3. 5.3. The PIM to Web Transformation
        1. 5.3.1. The Transformation Rules
      4. 5.4. The Communication Bridges
      5. 5.5. Summary
    12. 6. Rosa's PSMs to Code
      1. 6.1. Relational Model to Code Transformation
      2. 6.2. EJB Model to Code Transformation
        1. 6.2.1. Some Remarks on EJB Code
        2. 6.2.2. The Transformation Rules
      3. 6.3. The Web Model to Code Transformation
        1. 6.3.1. The Structure of the Web Code
        2. 6.3.2. The Transformation Rules
      4. 6.4. Summary
    13. 7. More on Transformations
      1. 7.1. Desired Features of Transformations
      2. 7.2. Controlling and Tuning Transformations
        1. 7.2.1. Manual Control
        2. 7.2.2. Conditions on Transformations
        3. 7.2.3. Transformation Parameters
        4. 7.2.4. Additional Information
      3. 7.3. Traceability
      4. 7.4. Incremental Consistency
      5. 7.5. Bidirectionality
      6. 7.6. Implications on Transformations
        1. 7.6.1. Transformation Parameters
        2. 7.6.2. Persistent Source-Target Relationship
        3. 7.6.3. Transformation Rules as Objects
      7. 7.7. Summary
    14. 8. Metamodeling
      1. 8.1. Introduction to Metamodeling
      2. 8.2. The Four Modeling Layers of the OMG
        1. 8.2.1. Layer M0: The Instances
        2. 8.2.2. Layer M1: The Model of the System
        3. 8.2.3. Layer M2: The Model of the Model
        4. 8.2.4. Layer M3: The Model of M2
        5. 8.2.5. Getting Rid of the Layers
      3. 8.3. The Use of Metamodeling in the MDA
        1. 8.3.1. The Extended MDA Framework
      4. 8.4. Summary
    15. 9. Defining Your Own Transformations
      1. 9.1. Transformations Definitions Revisited
      2. 9.2. The Transformation Definition Language
        1. 9.2.1. Requirements for a Transformation Rule
        2. 9.2.2. A Notation for Transformation Rules
        3. 9.2.3. Transformation Definitions
      3. 9.3. Example Transformation Definitions
        1. 9.3.1. Public and Private Attributes
        2. 9.3.2. Associations
        3. 9.3.3. Classes
        4. 9.3.4. Finishing the Transformation Definition
      4. 9.4. The Complete MDA Framework
      5. 9.5. Summary
    16. 10. Rosa's Transformation Definitions
      1. 10.1. The UML to Relational Mapping
        1. 10.1.1. Transformation Rules for UML to Relational Model
        2. 10.1.2. Completion of the Relational Model
      2. 10.2. The UML to EJB Mapping
        1. 10.2.1. Additional Operations
      3. 10.3. The UML to Web Mapping
      4. 10.4. Summary
    17. 11. OMG Standards and Additional Technologies
      1. 11.1. Introduction
      2. 11.2. The MOF
        1. 11.2.1. yMOF Tools
          1. The MOF Repository Interface
          2. Model Interchange
        2. 11.2.2. The Role of the MOF in MDA
      3. 11.3. Query, Views, and Transformations
      4. 11.4. UML
        1. 11.4.1. The UML Metamodel
          1. Relationship between UML and the MOF
        2. 11.4.2. The Role of UML in MDA
      5. 11.5. OCL
        1. 11.5.1. Using OCL with UML
        2. 11.5.2. Using OCL with the MOF
        3. 11.5.3. The Role of OCL in MDA
      6. 11.6. The UML Action Semantics
      7. 11.7. CWM
      8. 11.8. UML Profiles
        1. 11.8.1. The Role of Profiles in MDA
      9. 11.9. Summary
    18. 12. The MDA Promise
      1. 12.1. The MDA Paradigm Shift
        1. 12.1.1. A Historic Perspective
        2. 12.1.2. A Shift of Focus
        3. 12.1.3. Too Good to Be True?
      2. 12.2. The Development Process
      3. 12.3. The Tools
      4. 12.4. The Modeling Languages
      5. 12.5. Summary
    19. A. Glossary
      1. Glossary
    20. B. The Code for Rosa's System
      1. B.1. The SQL Code for Rosa's System
      2. B.2. The EJB Code for Rosa's System
      3. B.3. The JSP Code for Rosa's System
    21. Bibliography

    Product information

    • Title: MDA Explained: The Model Driven Architecture™: Practice and Promise
    • Author(s): Anneke Kleppe, Jos Warmer, Wim Bast
    • Release date: April 2003
    • Publisher(s): Addison-Wesley Professional
    • ISBN: None