A theory of distributed aspects

Nicolas Tabareau 1, 2
1 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : Over the last five years, several systems have been proposed to take distribution into account in Aspect-Oriented Programming. While they appeared to be fruitful to develop or improve distributed component infrastructures or application servers, those systems are not underpinned with a formal semantics and so do not permit to establish properties on the code to be executed. This paper introduces the aspect join calculus -- an aspect-oriented and distributed language based on the join calculus, a member of the pi-calculus family of process calculi suitable as a programming language. It provides a first formal theory of distributed AOP as well as a base language in which many features of previous distributed AOP systems can be formalized. The semantics of the aspect join calculus is given by a (chemical) operational semantics and a type system is developed to ensure properties satisfied by aspects during the execution of a process. We also give a translation of the aspect join calculus into the core join calculus. The translation is proved to be correct by a bisimilarity argument. In this way, we provide a well-defined version of a weaving algorithm which constitutes the main step towards an implementation of the aspect join calculus directly in JoCaml. We conclude this paper by showing that despite its minimal definition, the aspect join calculus is a convenient language in which existing distributed AOP languages can be formalized. Indeed, many features (such as remote pointcut, distributed advice, migration of aspects, asynchronous and synchronous aspects, re-routing of messages and distributed control flow) can be defined in this simple language.
Document type :
Conference papers
ACM. 9th International Conference on Aspect-Oriented Software Development (AOSD '10), Mar 2010, Rennes, Saint-Malo, France. pp.133--144, 2010, <10.1145/1739230.1739246>
Liste complète des métadonnées


https://hal.inria.fr/inria-00423996
Contributor : Nicolas Tabareau <>
Submitted on : Tuesday, March 16, 2010 - 2:44:48 PM
Last modification on : Wednesday, October 7, 2015 - 1:15:01 AM
Document(s) archivé(s) le : Wednesday, November 30, 2016 - 3:50:20 PM

File

theory_of_distributed_aspects_...
Files produced by the author(s)

Identifiers

Collections

Citation

Nicolas Tabareau. A theory of distributed aspects. ACM. 9th International Conference on Aspect-Oriented Software Development (AOSD '10), Mar 2010, Rennes, Saint-Malo, France. pp.133--144, 2010, <10.1145/1739230.1739246>. <inria-00423996v4>

Share

Metrics

Record views

304

Document downloads

175