Go home now Header Background Image
Submission Procedure
share: |
Follow us
Volume 13 / Issue 6

available in:   PDF (152 kB) PS (293 kB)
Similar Docs BibTeX   Write a comment
Links into Future
DOI:   10.3217/jucs-013-06-0786


RE-AspectLua - Achieving Reuse in AspectLua

Thaís Batista (Federal University of Rio Grande do Norte, Brazil)

Maurício Vieira (Federal University of Rio Grande do Norte, Brazil)

Abstract: AspectLua is a Lua-based dynamic aspect-oriented language that follows the original AspectJ concepts. It suffers from the same problem of AspectJ-like languages with regard to limitations in terms of aspect reusability, modularity and heterogeneous interaction. In this paper we propose RE-AspectLua, a new version of AspectLua that combines aspect interfaces with abstract joinpoints and the use of a connection language, the Lua language, to instantiate, at application composition time, the abstract joinpoints. Thus, the connection language defines the composition of reusable aspects with base code. Using these concepts RE-AspectLua intends to break away from the syntactically manifest coding of aspects in which joinpoints are hard-coded into aspects, thereby promoting general reusability and the heterogeneous composition of an aspect with different base codes. In order to illustrate RE-AspectLua concepts we present two case studies.

Keywords: AOP, Lua, dynamic aspects, heterogeneity, reusability

Categories: D.2.3, D.3.3