BARBOSA, Fernando Sérgio; AGUIAR, Ademar (2012) - Modeling and programming with roles: introducing JavaStage. In International Conference on Intelligent Software Methodologies, Tools and Techniques, 11, Génova, setembro. p. 1-22
Title
Modeling and programming with roles: introducing JavaStage
Subject
Roles Modeling Code reuse Object oriented Single inheritance languages
Date
2013-10-22T09:56:05Z 2013-10-22T09:56:05Z 2012-09
Description
Roles are not a new concept, but they have been used in two different ways: as modeling concepts in a static view and as instance extensions in a dynamic view. For these views only the dynamic offers supporting languages. The static view, although proving the utility of roles in modeling, does not offer a programming language that allows developers to use roles all the way from modeling to programming. We try to overcome this by presenting our role language JavaStage, based on the Java language. We do this by designing and implementing a simple framework and then compare the results with its OO equivalent. Our results show that static roles are in fact useful when used in code and that JavaStage features expand role reuse.