• DocumentCode
    2703373
  • Title

    A formal description of design patterns using OWL

  • Author

    Dietrich, Jens ; Elgar, Chris

  • Author_Institution
    Massey Univ., Palmerston North, New Zealand
  • fYear
    2005
  • fDate
    29 March-1 April 2005
  • Firstpage
    243
  • Lastpage
    250
  • Abstract
    Design patterns have been used successfully in the last decade to reuse and communicate object-oriented design. However, the documentation of pattern usage is often very poor. This motivates the use of tools which can detect and document design patterns found in software. A couple of approaches have been proposed in recent years. The approach introduced is based on a formal description of design patterns using the Web ontology language OWL. Software artefacts used to define design patterns in a formal and machine processable fashion are represented by uniform resource identifiers (URIs). This yields a description that is open and extensible, and facilitates the sharing of design among software engineers. We discuss the developed software design ontology, and how this approach relates to the meta-modelling architecture of the OMG. In the second part, an effective pattern scanner for the Java language is presented. This scanner is based on the ontology developed in part one and uses reflection and AST analysis to verify constraints. Various applications of this scanner are discussed.
  • Keywords
    Java; Unified Modeling Language; formal specification; object-oriented programming; ontologies (artificial intelligence); pattern recognition; semantic Web; software architecture; software reusability; system documentation; AST analysis; Java language; OWL; URI; Web ontology language; automated pattern detection; design patterns; meta-modelling architecture; object-oriented design; pattern scanner; semantic Web; software artefacts; software design ontology; uniform resource identifiers; Application software; Computer architecture; Design engineering; Documentation; Java; OWL; Ontologies; Reflection; Software design; Software tools; automated pattern detection; design patterns; object-oriented programming; semantic web; software design theory; web;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2005. Proceedings. 2005 Australian
  • ISSN
    1530-0803
  • Print_ISBN
    0-7695-2257-2
  • Type

    conf

  • DOI
    10.1109/ASWEC.2005.6
  • Filename
    1402019