Software Engineering Conference, Australian (2005)
Mar. 29, 2005 to Apr. 1, 2005
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ASWEC.2005.6
Jens Dietrich , Massey University
Chris Elgar , Massey University
<p>Design patterns have been used successfully in the last decade to re-use 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 here 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.</p> <p>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.</p>
software design theory, object-oriented programming, semantic web, design patterns, web ontologies, automated pattern detection
J. Dietrich and C. Elgar, "A Formal Description of Design Patterns Using OWL," Proceedings. 2005 Australian Software Engineering Conference(ASWEC), Brisbane, Queensland, Australia, 2005, pp. 243-250.