Reusable aspect-oriented implementations of concurrency patterns and mechanisms

Carlos Augusto da Silva Cunha, João L. Sobral, Miguel P. Monteiro · 2006

In this paper, we present a collection of well-known high-level concurrency patterns and mechanisms, coded in AspectJ. We discuss benefits of these implementations relative to plain Java implementations of the same concerns. We detect benefits from using AspectJ in all the cases presented, in the form of higher modularity, reuse, understandability and unpluggability. For most of the implementations, two alternatives can be used: one based on traditional pointcut interfaces and one based on annotations.

Read the paper · More papers on PaperTik