loading
Documents

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

ISBN: 978-989-8565-13-6

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.

PDF ImageFull Text

Download
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 54.211.135.32

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 - Volume 1: ENASE, ISBN 978-989-8565-13-6, 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 - Volume 1: ENASE,},
year={2012},
pages={13-22},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0003972600130022},
isbn={978-989-8565-13-6},
}

TY - CONF

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

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.