skip to main content
10.1145/1449913.1449940acmconferencesArticle/Chapter ViewAbstractPublication PagesgpceConference Proceedingsconference-collections
research-article

An abstraction for reusable MDD components: model-based generation of model-based code generators

Published:19 October 2008Publication History

ABSTRACT

We discuss our experience of using model-based techniques to generate model-based code generators. The central idea behind model-driven development (MDD) is to use suitable models to specify various concerns and transform these models to a variety of text artifacts. A business product needs to deliver a given business functionality on a wide variety of implementation platforms and architectures thus necessitating multiple sets of code generators. However, there is a considerable commonality across these code generators. In absence of a suitable abstraction for capturing this commonality, there is little or no reuse across these code generators. We present an abstraction for organizing model-based code generators as a hierarchical composition of reusable building blocks. A building block is a localized specification of a concern in terms of a concern-specific meta model, model to model trans-formation, and model to text transformation. Model-based code generation is a 3-step walk over the composition tree wherein the first step transforms individual concern-specific models into a unified model, the second step transforms the unified model into individual concern-specific text artifacts, and the third step composes these text artifacts.

References

  1. Vinay Kulkarni, R. Venkatesh and Sreedhar Reddy. Generating enterprise applications from models. OOIS'02, LNCS 2426, pp 270--279. 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. UML Infrastructure 2.0 Draft Adopted Specification, 2003, http://www.omg.org/uml/Google ScholarGoogle Scholar
  3. MOF Query / Views / Transformations http://www.omg.org/spec/QVT/1.0Google ScholarGoogle Scholar
  4. MOF Models to Text Transformation Language http://www.omg.org/spec/MOFM2T/1.0/Google ScholarGoogle Scholar
  5. Harold Ossher, Peri L. Tarr: Hyper/JTM: Multi-Dimensional Separation of Concerns for JavaTM. ICSE 2001: 821--822 Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. MasterCraft - Component-based Development Environment. Technical Documents. Tata Research Development and Design Centre. http://www.tata-mastercraft.comGoogle ScholarGoogle Scholar
  7. Vinay Kulkarni, Sreedhar Reddy: Introducing MDA in a large IT consultancy organization. APSEC 2006: 419--426. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An abstraction for reusable MDD components: model-based generation of model-based code generators

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      GPCE '08: Proceedings of the 7th international conference on Generative programming and component engineering
      October 2008
      194 pages
      ISBN:9781605582672
      DOI:10.1145/1449913

      Copyright © 2008 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 19 October 2008

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate56of180submissions,31%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader