Using Delegation for Software and Subject Composition

Class composition is the technology used for Subject-Oriented Programming, and when used for software composition, it has numerous advantages over the object composition technology in common use today in software using Microsoft's COM and tbc Object Management Group's CORBA style of component interfaces. Many of the major defects of the usual style of object composition arises from its use of delegation in a dcfective manner (broken delegation). However, if the appropriate coding conventions are employed, it is possible to use delegation to create software that can be composed in a reliable manner. This paper explores the trade-offs between coding conventions and flexibility of composition in the use of delegation for software composition.

By: William Harrison, Harold Ossher, Peri Tarr

Published in: RC20946 in 1997

LIMITED DISTRIBUTION NOTICE:

This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.

rc20946.pdf

Questions about this service can be mailed to reports@us.ibm.com .