TITLE:
Software Composition Using Behavioral Models of Design Patterns
AUTHORS:
Sargon Hasso, Carl Robert Carlson
KEYWORDS:
Software Composition; Design Patterns; Integration; Role Model; Architecture; DCI Architecture; System Responsibilities; Traits
JOURNAL NAME:
Journal of Software Engineering and Applications,
Vol.7 No.2,
February
25,
2014
ABSTRACT:
Given a set of requirements structured as design problems, we
can apply design patterns to solve each problem individually. Much of the published literature on design
patterns addresses this problem—pattern association; however, there is no
systematic and practical way that shows how to integrate those individual
solutions together. We propose a compositional model based on design patterns
by abstracting their behavioral model using role modeling constructs. This
approach describes how to transform a design pattern into a role model that can
be used to assemble a software application. The role model captures the
behavioral relationship between participant components in the design pattern.
Our approach offers a complete practical design and implementation strategies,
adapted from DCI (Data, Context, and Interaction) architecture. We demonstrate
our technique by presenting a simple case study complete with design
and implementation code. We also present a simple to follow
process that provides guidelines of what to do and how to do it.