Classbox/J: Controlling the Scope of Change in Java

Abstract : Unanticipated changes to complex software systems can introduce anomalies such as duplicated code, suboptimal inheritance rela- tionships and a proliferation of run-time downcasts. Refactoring to eliminate these anomalies may not be an option, at least in certain stages of software evolution. Classboxes are modules that restrict the visibility of changes to selected clients only, thereby offering more freedom in the way unanticipated changes may be imple- mented, and thus reducing the need for convoluted design anoma- lies. In this paper we demonstrate how classboxes can be imple- mented in statically-typed languages like Java. We also present an extended case study of Swing, a Java GUI package built on top of AWT, and we document the ensuing anomalies that Swing intro- duces. We show how Classbox/J, a prototype implementation of classboxes for Java, is used to provide a cleaner implementation of Swing using local refinement rather than subclassing.
Type de document :
Communication dans un congrès
International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA'05), Oct 2005, San Diego, United States. 2005
Liste complète des métadonnées

Littérature citée [32 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00533461
Contributeur : Lse Lse <>
Soumis le : samedi 6 novembre 2010 - 14:50:34
Dernière modification le : mercredi 10 janvier 2018 - 09:44:32
Document(s) archivé(s) le : vendredi 26 octobre 2012 - 15:05:18

Fichier

Berg05b-OOSPLA05-classboxJ.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00533461, version 1

Collections

UGA

Citation

Alexandre Bergel, Stéphane Ducasse, Oscar Nierstrasz. Classbox/J: Controlling the Scope of Change in Java. International Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA'05), Oct 2005, San Diego, United States. 2005. 〈inria-00533461〉

Partager

Métriques

Consultations de la notice

81

Téléchargements de fichiers

134