Konferenzbeitrag

Generic roles for increased reuseability

Lade...
Vorschaubild
Volltext URI
Dokumententyp
Text/Conference Paper
Datum
2012
Zeitschriftentitel
ISSN der Zeitschrift
Bandtitel
Quelle
Software Engineering 2012
Regular Research Papers
Verlag
Gesellschaft für Informatik e.V.
Zusammenfassung
Role-based programming, as in the Object Teams/Java (OT/J) language, aims to improve object-oriented programming with regard to separation of crosscutting or context-related concerns. Therefore, OT/J introduces class-like modules for roles and context, which connect common classes to build collaborations. However, since role and base objects are directly linked, it implies strong coupling and limited possibilities of reuse. This research aims to create a generic way of expressing connections between a collaboration and its base in order to further decouple modules and enhance their reusability. We introduce a quantification mechanism based on logic meta-programming in Prolog that allows using generic references to declaratively defined program elements, which are transformed to build valid OT/J code. We propose that the use of logic meta-variables improves the expressiveness and genericity of rolebased programming.
Beschreibung
Mertgen, Andreas (2012): Generic roles for increased reuseability. Software Engineering 2012. Bonn: Gesellschaft für Informatik e.V.. PISSN: 1617-5468. ISBN: 978-3-88579-292-5. pp. 131-142. Regular Research Papers. Berlin. 27. Februar - 2. März 2012
Schlagwörter
Zitierform
DOI
Tags