AVal: an Extensible Attribute-Oriented Programming Validator for Java - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2006

AVal: an Extensible Attribute-Oriented Programming Validator for Java

Carlos Noguera
  • Function : Author
  • PersonId : 843562


Attribute Oriented Programming (@OP ) permits programmers to extend the semantics of a base program by annotating it with attributes that are related to a set of concerns. Examples of this are applications that rely on XDoclet (such as Hibernate) or, with the release of Java5's annotations, EJB3. The set of attributes that implements a concern defines a Domain Specific Language, and as such, imposes syntactic and semantic rules on the way that attributes are included in the program or even on the program itself. We propose a framework for the definition and checking of these rules for @OP that uses Java5 annotations. We define an extensible set of meta-annotations to allow the validation of @OP programs, as well as the means to extend them using a compile-time model of the program's source code. We show the usefulness of the approach by presenting two examples of its use: an @OP extension for the Fractal component model called Fraclet, and the JSR 181 for web services definition
Fichier principal
Vignette du fichier
nogueraPawlak_SCAM06.pdf (192.73 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

inria-00180453 , version 1 (19-10-2007)



Carlos Noguera, Renaud Pawlak. AVal: an Extensible Attribute-Oriented Programming Validator for Java. 6th IEEE International Workshop on Source Code Analysis and Manipulation (SCAM'06), IEEE, Sep 2006, Philadelphia, PA, United States. pp.175-183, ⟨10.1109/SCAM.2006.5⟩. ⟨inria-00180453⟩
106 View
165 Download



Gmail Facebook Twitter LinkedIn More