Zusammenfassung
Im Gegensatz zu objektorientierten Programmiersprachen, die Vererbung auf Klassenebene realisieren, gibt es Sprachen, die dieses Konzept ausschließlich auf Objektebene verwirklichen. Dabei können „Unterobjekte" nicht nur Methoden ihrer „Oberobjekte“ lokal „überschreiben" (overriding), sondern die Oberobjekte lassen sich auch zur Laufzeit gegen andere Objekte austauschen, wodurch sich leicht dynamische Verhaltensänderungen modellieren lassen.
Anhand einer Erweiterung der Sprache Java haben wir nun gezeigt, daßsich das Konzept der objektbasierten Vererbung in bestehenden klassenbasierten, streng typisierten Sprachen effizient und bei Bewahrung der Typsicherheit implementieren läßt.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Literatur
K. Arnold und J. Gosling, The Java Programming Language, Addison—Wesley, 1996.
C. Chambers, Object—Oriented Mult—Methods in Cecil, in Proceedings of ECOOP’92, Utrecht, Niederlande, Juli 1992.
P. Costanza, Lava: Delegation in einer streng typisierten Programmiersprache —Sprachdesign und Compiler, Diplomarbeit, Universität Bonn, 1998.
M.A. Ellis und B. Stroustrup, The Annotated C++ Reference Manual, Addison—Wesley, 1995.
E. Gamma, R. Helm, R. Johnson und J. Vlissides, Design Patterns: elements of reusable object—oriented software, Addison—Wesley, 1995.
G. Gottlob, M. Schrefl und B. Rock, Extending objec—oriented systems with roles, in ACM Transactions on Information Systems, Vol. 14, Seiten 268–196, 1996.
G. Kniesel, Implementation of Dynamic Delegation in Strongly Typed Inheritance—Based Systems, Technischer Bericht, Institut für Informatik III, Universität Bonn, 1995.
G. Kniesel, Objects don’t migrate! Perspectives on Objects with Roles, Technischer Bericht, Institut für Informatik III, Universität Bonn, Bonn, April 1996.
G. Kniesel, Delegation for Java —API or Language Extension?, Technischer Bericht, Universität Bonn, 1998.
G. Kniesel, Darwin — Dynamic Object—Based Inheritance with Subtyping, Dissertation (in Vorbereitung), Institut für Informatik III, Universität Bonn, 1999.
G. Kniesel, Type—Safe Delegation for Runtime Component Adaptation, in Proceedings of ECOOP’99, LNCS (in Vorbereitung), Springer Verlag, 1999.
O. Marino, F. Rechenmann und P. Uvietta, Multiple Perspectives and Classification Mechanism in Object—Oriented Representation, in Proceedings of the European Conference on Artificial Intelligence, 1990.
B. Meyer, Eiffel: The Language, Prentice—Hall, 1992.
B. Pernici, Objects with roles, in Proceedings ACM—IEEE Conference of Office Information Systems (COIS), ACM Press, 1990.
J. Richardson und P. Schwarz, Aspects: Extending Objects to Support Multiple, Independent Roles, in Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 298–307. 1991.
D. Rieu und G.T. Nguyen, Object Views for Engineering Databases, in Proceedings of 3rd International Conference on Data &; Knowledge Systems for Manufacturing &: Engineering, 1992.
M. Schickel, Lava — Konzeptionierung und Implementierung von Delegationsmechanismen in der Java Laufzeitumgebung, Diplomarbeit, Institut für Informatik III, Universität Bonn, 1997.
J. J. Shilling and P. F. Sweeney, Three Steps to Views: Extending the Object—Oriented Paradigm, in ACM SIGPLAN Notices, Proceedings of OOPSLA ’89, 24(10):353–361, 1989.
A. Sielski, Vergleichende Implementierung eines Rollenkonzeptes in verschiedenen Zielsprachen, Diplomarbeit, Universität Bonn, 1998.
W.R. Smith, Using a Prototype—Based Language for User Interfaces: The Newton Project’s Experiences, in OOPSLA ’95 Conference Proceedings, SIGPLAN Notices, ACM Press, 1995.
R.B. Smith und D. Ungar, A Simple and Unifying Approach to Subjective Objects, in Theory and Practice of Object Systems (TAPOS), 2(3):161–178, 1996, Special Issue on Subjectivity in Object—Oriented Systems.
C. Szyperski, Component Software — Beyond Object—Oriented Programming, Addison—Wesley, 1998.
U. Ungar und R. B. Smith, SELF: The Power of Siplicity, in OOPSLA ’87 Conference Proceedings, Band 22 (12) von Special issue of SIGPLAN Notices, Seiten 227–242, ACM Press, December 1987.
R. Wieringa, W. de Jonge und P. Spruit, Roles and Dynamic Subclasses: A Modal Logic Approach, in Proceedings of ECOOP’94, LNCS 821, pages 32–59. Springer—Verlag, Bologna, Italy, 1994.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer Verlag Berlin Heidelberg
About this paper
Cite this paper
Costanza, P., Kniesel, G., Cremers, A.B. (1999). Lava Spracherweiterungen für Delegation in Java. In: Cap, C.H. (eds) JIT’99. Informatik aktuell. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-60247-4_22
Download citation
DOI: https://doi.org/10.1007/978-3-642-60247-4_22
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66464-2
Online ISBN: 978-3-642-60247-4
eBook Packages: Springer Book Archive