Java Framework Implementing Design Patterns by the Use of JML and Contract4J

Research output: Working paper and reportsPreprint

Abstract

We develop a generic Java framework that implements software design patterns. In this paper, the Decorator and State patterns are focused. Nevertheless, our current results can be considered in connection with any design pattern which employs delegation constraints. We investigate how such constraints could be expressed in Java by the help of Design-by- Contract tools like JML or Contract4J. Furthermore, we illustrate how to use our generic framework, through examples.
Original languageEnglish
Place of PublicationSchloss Hagenberg, 4232 Hagenberg
PublisherRISC, JKU-Linz
Number of pages17
Publication statusPublished - 2009

Publication series

NameRISC Technical Reports

Fields of science

  • 101 Mathematics
  • 101001 Algebra
  • 101005 Computer algebra
  • 101009 Geometry
  • 101012 Combinatorics
  • 101013 Mathematical logic
  • 101020 Technical mathematics

Cite this