AVal: an extensible Attribute-Oriented Programming validator for Java']Java

被引:0
作者
Noguera, Carlos [1 ]
Pawlak, Renaud [1 ]
机构
[1] INRIA Futurs, Jacquard Project, LIFL, UMR 8022,CNRS,Equipe GOAL, Batiment M3, F-59655 Villeneuve Dascq, France
来源
SIXTH IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS | 2006年
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:175 / +
页数:3
相关论文
共 16 条
[1]  
BRUNETON E, 2002, P 7 INT WORKSH COMP
[2]  
Cepa V, 2004, LECT NOTES COMPUT SC, V3286, P283
[3]  
CHINNICI R, 2003, JAVA API XML BASED R
[4]  
CLint L., 1994, P ACM SIGSOFT 94 S F, P87, DOI [DOI 10.1145/193173.195297, 10.1145/193173.195297]
[5]  
Eichberg M, 2005, LECT NOTES COMPUT SC, V3442, P237, DOI 10.1007/978-3-540-31984-9_18
[6]   Improving security using extensible lightweight static analysis [J].
Evans, D ;
Larochelle, D .
IEEE SOFTWARE, 2002, 19 (01) :42-+
[7]  
Hedin G., 1997, Nordic Journal of Computing, V4, P93
[8]  
HILSDALE E, 2004, AOSD 04, P26
[9]  
Johnson S. C., 1978, Lint, a C program checker
[10]  
Michel L. D., 2006, ENTERPRISE JAVABEANS