DocumentCode
548841
Title
Orthogonal persistence in Java supported by Aspect- Oriented Programming and Reflection
Author
Pereira, Rui Humbero R ; Perez-Schofield, J. Baltasar García
Author_Institution
IPP, Inst. Super. Contabilidade e Administracao do Porto, Porto, Portugal
fYear
2011
fDate
15-18 June 2011
Firstpage
1
Lastpage
6
Abstract
The persistence concern implemented as an aspect has been studied since the appearance of the Aspect-Oriented paradigm. Frequently, persistence is given as an example that can be aspectized, but until today no real world solution has applied that paradigm. Such solution should be able to enhance the programmer productivity and make the application less prone to errors. To test the viability of that concept, in a previous study we developed a prototype that implements Orthogonal Persistence as an aspect. This first version of the prototype was already fully functional with all Java types including arrays. In this work the results of our new research to overcome some limitations that we have identified on the data type abstraction and transparency in the prototype are presented. One of our goals was to avoid the Java standard idiom for genericity, based on casts, type tests and subtyping. Moreover, we also find the need to introduce some dynamic data type abilities. We consider that the Reflection is the solution to those issues. To achieve that, we have extended our prototype with a new static weaver that preprocesses the application source code in order to introduce changes to the normal behavior of the Java compiler with a new generated reflective code.
Keywords
Java; aspect-oriented programming; program compilers; Java compiler; application source code; aspect-oriented programming; aspect-oriented reflection; orthogonal persistence aspect; reflective code; Databases; Java; Programming; Prototypes; Reflection; Syntactics; Weaving; aspect-oriented programming; framework; genericity; reflection; type erasure; type inference;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Systems and Technologies (CISTI), 2011 6th Iberian Conference on
Conference_Location
Chaves
Print_ISBN
978-1-4577-1487-0
Type
conf
Filename
5974284
Link To Document