Aspect-oriented programming with adaptive methods

Karl Lieberherr, Doug Orleans, Johan Ovlinger

Communications of the ACM · 2001 · 168 citations · 2 references

DOIFull text

Open access

Concepts

Abstract

Java programmers can easily experiment with AOP ideas by using the DJ library. An operation in an object-oriented program often involves several different collaborating classes. There are usually two ways to implement such an operation: either put the whole operation into one method on one of the classes, or divide the operation into methods on each of the classes involved. The drawback of the former is that too much information about the structure of the classes (is-a and has-a relationships) needs to

References

2