Tool support for implementation of object-oriented class relationships and patterns

James H. Paterson, John Haddow

    Research output: Contribution to journalArticlepeer-review

    69 Downloads (Pure)


    This paper reports the use of the PatternCoder tool in the teaching of object-oriented design and programming. This tool has been developed by the authors as an extension to the BlueJ Java Integrated Development Environment (IDE). PatternCoder encapsulates knowledge of design patterns and basic class relationships, and of the techniques required for their implementation in Java. It guides students through a step-by-step process: select an appropriate pattern or relationship; give the classes which participate in the pattern names relevant to the current problem domain; and generate code for minimal Java class definitions which can then be explored and extended. The tool was initially developed with a view to teaching advanced design patterns, but we have explored its use within introductory classes, viewing binary class relationships as simple design patterns. Initial experience with the tool within an introductory Java module has been positive, with students actively choosing to use the tool and feeling that the teaching approach based on its use was beneficial to their understanding of class relationships.
    Original languageEnglish
    Pages (from-to)108-124
    Number of pages17
    Issue number4
    Publication statusPublished - Oct 2007


    • design
    • object-orientation
    • code-generation
    • Java
    • patterns


    Dive into the research topics of 'Tool support for implementation of object-oriented class relationships and patterns'. Together they form a unique fingerprint.

    Cite this