HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation
Conference papers

AVal: an Extensible Attribute-Oriented Programming Validator for Java

Carlos Noguera 1 Renaud Pawlak 1
1 JACQUARD - Weaving of Software Components
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : 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
Document type :
Conference papers
Complete list of metadata

Cited literature [5 references]  Display  Hide  Download

Contributor : Lionel Seinturier Connect in order to contact the contributor
Submitted on : Friday, October 19, 2007 - 10:53:05 AM
Last modification on : Friday, February 4, 2022 - 3:08:46 AM
Long-term archiving on: : Sunday, April 11, 2010 - 11:18:48 PM


Files produced by the author(s)




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⟩



Record views


Files downloads