Computer Science · Artificial Intelligence
Aspectual collaborations for collaboration-oriented concerns
Karl Lieberherr, David H. Lorenz, Johan Ovlinger
See on the mapAbstract
Abstract. Aspect-oriented programming (AOP) controls tangling of concerns by isolating aspects that cross-cut each other into building blocks. Component-based programming supports software development by isolating reusable building blocks that can be assembled and connected in many different ways. We show how these concepts can be integrated by introducing a new component construct for programming called aspectual collaborations. We explore how these collaborations can be deployed, composed, and reused. Aspectual collaborations allow us to capture, in separately compiled units, cross-cutting behavior such as intercessionary advice, exception handling, invariants, and generic behavior. These compiled units can then be flexibly deployed once or several times into base applications or composed with other collaborations. The implementation of a weaver compiler for aspectual collaboration is described. 1 Introduction Separation of concerns and modularity are at the heart of the programming process. Concerns are conceptual units in which one decomposes a given problem. Modules are software units in which one organizes software. Modular programming is conducted by expressing programming concerns in modular units. The key insight of Aspect-Oriented Programming (AOP) [23] is that module boundaries seldom fit along all concern boundaries. The modular breakdown captures some programming concerns, while other concerns, namely, crosscutting concerns, are scattered throughout the units of modularity resulting in tangling of the concerns ' code. (For a survey of AOP techniques see [10].)