loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Sixth IEEE International Workshop on Source Code Analysis and Manipulation (SCAM'06)
AVal: an Extensible Attribute-Oriented Programming Validator for Java
Philadelphia, Pennsylvania
September 27-September 29
ISBN: 0-7695-2353-6
Carlos Noguera, INRIA - Futurs, France
Renaud Pawlak, INRIA - Futurs, France
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 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.
Citation:
Carlos Noguera, Renaud Pawlak, "AVal: an Extensible Attribute-Oriented Programming Validator for Java," scam, pp.175-183, Sixth IEEE International Workshop on Source Code Analysis and Manipulation (SCAM'06), 2006
Usage of this product signifies your acceptance of the Terms of Use.