Behavioral specification of GOF design patterns with LOTOS

Software patterns such as gang-of-four (GOF) design patterns are a promising approach for developing software of high quality with less effort. To design larger and complicated software, we often combine design patterns into a larger one, and in this situation obtaining a consistent combination of patterns is important. More concretely, the techniques for checking if the combined patterns are consistently collaborated from a behavioral view is a crucial issue. We propose a technique to define the behavior of the design patterns based on the formal description technique LOTOS (Language of Temporal Ordering Specification). By executing the behavioral descriptions on a LOTOS simulator, we can check the behavioral consistency of the patterns. We also illustrate how our technique works well by using the combination of GOF composite and command patterns.

[1]  Takashi Kobayashi,et al.  Pattern-Based Software Evolution , 1999, ECOOP Workshops.

[2]  Peter van Eijk The Design of a Simulator Tool , 1989 .

[3]  F. Russo,et al.  Performance evaluation of a software architecture: a case study , 1998, Proceedings Ninth International Workshop on Software Specification and Design.

[4]  Dimitra Giannakopoulou,et al.  Software architecture directed behaviour analysis , 1998, Proceedings Ninth International Workshop on Software Specification and Design.

[5]  Takashi Kobayashi,et al.  Software development based on software pattern evolution , 1999, Proceedings Sixth Asia Pacific Software Engineering Conference (ASPEC'99) (Cat. No.PR00509).

[6]  Alexander Knapp A Formal Semantics for UML Interactions , 1999, UML.

[7]  Wolfgang Pree,et al.  Design Patterns for Object-Oriented Software Development , 1994, Proceedings of the (19th) International Conference on Software Engineering.

[8]  Ian M. Holland,et al.  Contracts: specifying behavioral compositions in object-oriented systems , 1990, OOPSLA/ECOOP '90.