We propose new linguistic constructs for composing objects in a Java-like language. Objects are intended as featherweight components which can be used in multiple compositions, and object types specify not only the implemented functionalities, but also the required methods, which will be provided by other components during composition. Thus the language supports flexible object reuse and adaptation of the object behavior at run time. The static type discipline guarantees that method calls on well-typed object compositions are safe.
Object Reuse and Behavior Adaptation in Java-like Languages / Bettini, L.; Venneri, B.. - STAMPA. - (2011), pp. 111-120. (Intervento presentato al convegno PPPJ '11 Principles and Practice of Programming in Java tenutosi a Kongens Lyngby, Denmark nel August 24-26, 2011) [10.1145/2093157.2093173].
Object Reuse and Behavior Adaptation in Java-like Languages
BETTINI, LORENZO;VENNERI, BATTISTINA
2011
Abstract
We propose new linguistic constructs for composing objects in a Java-like language. Objects are intended as featherweight components which can be used in multiple compositions, and object types specify not only the implemented functionalities, but also the required methods, which will be provided by other components during composition. Thus the language supports flexible object reuse and adaptation of the object behavior at run time. The static type discipline guarantees that method calls on well-typed object compositions are safe.File | Dimensione | Formato | |
---|---|---|---|
pppj11.pdf
accesso aperto
Descrizione: Copia principale
Tipologia:
Pdf editoriale (Version of record)
Licenza:
Tutti i diritti riservati
Dimensione
357.3 kB
Formato
Adobe PDF
|
357.3 kB | Adobe PDF |
I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.