DocumentCode :
1004949
Title :
Implementing Direct and Sequential Access to Data Collections using Aspects
Author :
Gómez, Jordi Marco ; Gutierrez, X.F. ; Canal, J.A.
Volume :
3
Issue :
1
fYear :
2005
fDate :
3/1/2005 12:00:00 AM
Firstpage :
104
Lastpage :
111
Abstract :
Data collection libraries play an important role in component-based software development. The collections contained in those libraries (JCF, STL, LEDA, etc.) implement a mathematical model that defines one or more access methods to the elements (access by key, access to the element stored last, etc.). In addition, most of these libraries allow a different, more efficient type of access, which can be direct access (e.g., by means of the position where the element is stored, that is obtained when it is inserted) or sequential access (usually by means of the iterator concept). This type of efficient access presents several risks with respect to criteria such as precision and suitability that are not solved appropriately in the current existing libraries. In this work, we present two design patterns that provide a generic solution to the problem together with their implementation using aspects. The patterns introduce new data types and new operations that provide the libraries with full uniformity and a high extensibility degree. The use ofaspects allows dissociating these types of access and the functionality of the collection, making aspects responsible of the position persistence management, modification monitoring during iterations, etc. The proposal is implemented using AspectJ.
Keywords :
aspect oriented software development; component Based Software Engineering; design patterns; Java; Libraries; Programming; Software design; Software engineering; aspect oriented software development; component Based Software Engineering; design patterns;
fLanguage :
English
Journal_Title :
Latin America Transactions, IEEE (Revista IEEE America Latina)
Publisher :
ieee
ISSN :
1548-0992
Type :
jour
DOI :
10.1109/TLA.2005.1468669
Filename :
1468669
Link To Document :
بازگشت