Michael Schrefl, Thomas Thalhammer,
"Using Roles in Java"
, in Software - Practice and Experience, Vol. 34, Nummer 5, John Wiley & Sons, Seite(n) 449-464, 4-2004, ISSN: 1097-024X
Original Titel:
Using Roles in Java
Sprache des Titels:
Englisch
Original Kurzfassung:
Using roles in object-oriented design leads to a more natural representation of a given problem domain. Despite a log of research into role based systems, there is still a gap between conceptual representation of roles and the usage of roles in strongly typed object-oriented programming languages such as C++ or Java. Since these languages associate classes and their instances exclusively and permanently, representing evolving objects that may take on different roles over time is difficult without special support: (1) Entities must be reclassified any time they evolve and (2) class hierarchies may grow exponentially if entities may take on several independent roles.
This article shows how role designs in UML can be easily implemented in Java. It introduces the Java Role Package, which provides a set of classes to support handling of evolving object without modifying the semantics of Java itself.
Sprache der Kurzfassung:
Englisch
Journal:
Software - Practice and Experience
Veröffentlicher:
John Wiley & Sons
Volume:
34
Number:
5
Seitenreferenz:
449-464
Erscheinungsmonat:
4
Erscheinungsjahr:
2004
ISSN:
1097-024X
Anzahl der Seiten:
16
Notiz zur Publikation:
For reason of copyright these pages only contain abstracts of the published papers. If you are interested in a paper, you may receive a copy (PDF) by sending an e-mail to our office (dke.win@jku.at). Please include the paper-no. (Schr04b) and agree to use the paper for scientific purposes and private use only!