ACM Home Page
Please provide us with feedback. Feedback
Mixin programming in Java with reflection and dynamic invocation
Full text PdfPdf (690 KB)
Source ACM International Conference Proceeding Series; Vol. 25 archive
Proceedings of the inaugural conference on the Principles and Practice of programming, 2002 and Proceedings of the second workshop on Intermediate representation engineering for virtual machines, 2002 table of contents
Dublin, Ireland
SESSION: Programming language principles table of contents
Pages: 25 - 34  
Year of Publication: 2002
ISBN:0 901519 87 1
Authors
T. J. Brown  The Queen's University of Belfast, Belfast, N. Ireland
I. Spence  The Queen's University of Belfast, Belfast, N. Ireland
P. Kilpatrick  The Queen's University of Belfast, Belfast, N. Ireland.
Sponsor
: SUN Microsystems, Ltd.
Publisher
National University of Ireland  Maynooth, County Kildare, Ireland, Ireland
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 24,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  

ABSTRACT

The concept of mixin programming has emerged as an important implementation technique in the context ol software reuse and software productivity. In mixin based programming classes are defined which support particular roles or capabilities, which may require to be attached to a number of other classes. Mixin classes can be composed dynamically so that composite objects with differing combinations of roles and capabilities may be created without redundancy. Implementing the mixin concept in C++ is straightforward, using the parameterized inheritance capabilities provided by C++ templates. In standard Java it is not possible to use this approach because Java does not currently provide templates. But the Java language has other powerfull facilities, of which one is reflection. In this paper we outline an approach to mixin programming in Java, which is subject to ongoing development and which is based on exploiting Java's reflection capabilities.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
2
 
3
 
4
 
5
 
6
 
7
 
8
Tremblett P., Java Reflection: Not just for tool developers. Published in Dr. Dobbs Journal, January 1998.
 
9

Collaborative Colleagues:
T. J. Brown: colleagues
I. Spence: colleagues
P. Kilpatrick: colleagues

Peer to Peer - Readers of this Article have also read: