• DocumentCode
    2893616
  • Title

    Mapping between Alloy Specifications and Database Implementations

  • Author

    Cunha, Alcino ; Pacheco, Hugo

  • Author_Institution
    DI-CCTC, Univ. do Minho, Braga, Portugal
  • fYear
    2009
  • fDate
    23-27 Nov. 2009
  • Firstpage
    285
  • Lastpage
    294
  • Abstract
    The emergence of lightweight formal methods tools such as Alloy improves the software design process, by encouraging developers to model and verify their systems before engaging in hideous implementation details. However, an abstract Alloy specification is far from an actual implementation, and manually refining the former into the latter is unfortunately a non-trivial task. This paper identifies a subset of the Alloy language that is equivalent to a relational database schema with the most conventional integrity constraints, namely functional and inclusion dependencies. This semantic correspondence enables both the automatic translation of Alloy specifications into relational database schemas and the reengineering of legacy databases into Alloy. The paper also discusses how to derive an object-oriented application layer to serve as interface to the underlying database.
  • Keywords
    formal specification; object-oriented programming; relational databases; specification languages; Alloy language; abstract alloy specification; alloy specifications; automatic translation; database implementations; integrity constraints; legacy databases; lightweight formal methods tools; object-oriented application layer; reengineering; relational database schema; software design process; Application software; Costs; Data engineering; Data models; File systems; Java; Object oriented modeling; Programming; Relational databases; Software engineering; Alloy; Object-Relational Mapping; data modelling; database-intensive application; relational model;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Formal Methods, 2009 Seventh IEEE International Conference on
  • Conference_Location
    Hanoi
  • Print_ISBN
    978-0-7695-3870-9
  • Type

    conf

  • DOI
    10.1109/SEFM.2009.27
  • Filename
    5368082