DocumentCode
2188526
Title
Supporting Flexible Reification of Design Patterns
Author
Shen, Wuwei ; Kim, Dae-Kyoo ; Liu, Jian ; Zhao, Chen
Author_Institution
Dept. of Comput. Sci., Western Michigan Univ., Kalamazoo, MI, USA
fYear
2010
fDate
Nov. 30 2010-Dec. 3 2010
Firstpage
127
Lastpage
136
Abstract
Design patterns have been widely accepted as a solution for solving recurring design problems in object-oriented development. Reifications of design patterns can vary from one development environment to another, and use of inappropriate reifications may impose a serious threat to quality of a software system. In this paper, we propose an approach to applying the profile mechanism in reifying a design pattern. Central to this approach are stereotypes that are defined in a profile and used to represent different roles in a design pattern. Developers can apply these stereotypes in their application model when design patterns are used. The advantage of the profile mechanism is that developers can 1) define their own reification of a pattern in a profile based on a specific software system, and 2) find errors in an application model via the conformance checking of the model against the profile. More importantly, we apply our existing tool called ICER, which is based on the profile mechanism, to provide automatic checking for the application of design patterns. To illustrate the advantage of the profile mechanism supported by ICER, we show the different reifications for the Observer pattern. Last, experimental results show that ICER does not suffer from the scalability problem as the size of an application model increases.
Keywords
object-oriented programming; design patterns; object-oriented development; supporting flexible reification; Clocks; Concrete; Java; Observers; Servers; Software systems; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2010 17th Asia Pacific
Conference_Location
Sydney, NSW
ISSN
1530-1362
Print_ISBN
978-1-4244-8831-5
Electronic_ISBN
1530-1362
Type
conf
DOI
10.1109/APSEC.2010.24
Filename
5693188
Link To Document