Barbosa, F.S.Aguiar, Ademar2013-10-222013-10-222012BARBOSA, 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-22http://hdl.handle.net/10400.11/2060Roles 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.engRolesModelingCode reuseObject orientedSingle inheritance languagesModeling and programming with roles: introducing JavaStageconference object