Content area

Abstract

A collection of design patterns was described by Gamma, Helm, Johnson, and Vlissides in 1994. Each pattern ensures that a certain system aspect can vary over time, for example the operations that can be applied to an object or the algorithm of a method. The patterns are described by constructs such as the inheritance and reference relations, attempting to emulate more dynamic relationships. As a result, the design patterns demonstrate how awkward it is to program natural concepts of evolution when using a traditional object-oriented language. A new relation between classes - the context relation - is presented. It directly models dynamic evolution, and it is meaningful at both the design and implementation level. At the design level, the Unified Modeling Language is extended to include the context relation as a new form of arrow between classes. At the implementation level, a small extension of Java is presented. The context relation introduces a new form of dynamic binding that serves as a replacement to delegation. It is demonstrated how the context relation can be used to easily model and program numerous design patterns.

Details

10000008
Title
Evolution of object behavior using context relations
Publication title
Volume
24
Issue
1
Pages
79-92
Number of pages
14
Publication year
1998
Publication date
Jan 1998
Publisher
IEEE Computer Society
Place of publication
New York
Country of publication
United States
Publication subject
ISSN
00985589
e-ISSN
19393520
CODEN
IESEDJ
Source type
Scholarly Journal
Language of publication
English
Document type
PERIODICAL
Accession number
01584285
ProQuest document ID
195565691
Document URL
https://www.proquest.com/scholarly-journals/evolution-object-behavior-using-context-relations/docview/195565691/se-2?accountid=208611
Copyright
Copyright Institute of Electrical and Electronics Engineers, Inc. (IEEE) Jan 1998
Last updated
2024-12-02
Database
ProQuest One Academic