loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Fernando Barbosa 1 and Ademar Aguiar 2

Affiliations: 1 Instituto Politécnico de Castelo Branco, Portugal ; 2 Universidade do Porto, Portugal

Keyword(s): Modularity, Inheritance, Roles, Composition, Reuse.

Related Ontology Subjects/Areas/Topics: Service-Oriented Software Engineering and Management ; Software and Systems Development Methodologies ; Software Engineering ; Software Process Improvement

Abstract: Object oriented decomposition is the most successful decomposition strategy used nowadays. But a single decomposition strategy cannot capture all aspects of a concept. Roles have been successfully used to model the different views a concept may provide but, despite this, roles have not been used as building blocks. Roles are mostly used to extend objects at runtime. In this paper we propose roles as a way to compose classes that provides a modular way of capturing and reusing those aspects that fall outside a concept’s main purpose, while being close to the OO approach. We present how roles can be made modular and reusable. We also show how we can use roles to compose classes using JavaStage, a java extension that support roles To validate our approach we developed generic and reusable roles for the Gang of Four patterns. We were able to develop reusable roles for 10 out of 23 patterns, which is a good outcome.e.

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.142.53.151

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Barbosa, F. and Aguiar, A. (2012). Roles as Modular Units of Composition. In Proceedings of the 7th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE; ISBN 978-989-8565-13-6; ISSN 2184-4895, SciTePress, pages 13-22. DOI: 10.5220/0003972600130022

@conference{enase12,
author={Fernando Barbosa. and Ademar Aguiar.},
title={Roles as Modular Units of Composition},
booktitle={Proceedings of the 7th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE},
year={2012},
pages={13-22},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003972600130022},
isbn={978-989-8565-13-6},
issn={2184-4895},
}

TY - CONF

JO - Proceedings of the 7th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE
TI - Roles as Modular Units of Composition
SN - 978-989-8565-13-6
IS - 2184-4895
AU - Barbosa, F.
AU - Aguiar, A.
PY - 2012
SP - 13
EP - 22
DO - 10.5220/0003972600130022
PB - SciTePress