DocumentCode :
3692715
Title :
Assessing the DCI approach to preserving use cases in Code: Qi4J and beyond
Author :
Jozef Zat´ko;Valentino Vranić
Author_Institution :
Institute of Informatics and Software Engineering, Faculty of Informatics and Information Technologies, Slovak University of Technology in Bratislava, Ilkovič
fYear :
2015
Firstpage :
51
Lastpage :
56
Abstract :
DCI (Data, Context and Interaction) comes from role-based programming and separates the system state from its behavior making it possible to preserve use cases in code to the great extent. In its Java implementation, DCI relies on the Qi4J (renamed to Apache Zest at the time of finalizing this paper) framework for role injection. This paper provides an assessment of DCI via its Qi4J implementation and beyond based on an independent study of a small car dealer system development. Two most important conceptual findings are that roles can reduce inheritance and decrease maintainability and that generic roles can be played by objects of inappropriate classes. The findings specific to the Qi4J implementation include loss of the direct domain model access from the generic context roles, entities defining their casting rules, use of interfaces instead of classes as templates for objects, no access management of the data class attributes and methods, and no direct support of polymorphism.
Keywords :
"Context","Insurance","Java","Data models","Programming","Context modeling","Conferences"
Publisher :
ieee
Conference_Titel :
Intelligent Engineering Systems (INES), 2015 IEEE 19th International Conference on
Type :
conf
DOI :
10.1109/INES.2015.7329756
Filename :
7329756
Link To Document :
بازگشت