Computer Science ›› 2010, Vol. 37 ›› Issue (8): 146-151.
Previous Articles Next Articles
GU Si-shan,ZHAO Li-yang,LI Shi-xian
Online:
Published:
Abstract: By separating cross-cutting concerns from core concerns and supplying additional mechanisms to modularize cross-cutting concerns, aspect oriented programming gracefully solves the problem of code scatting and code tangling coming across when object oriented technique deals with cross-cutting concerns. Just like logging and secure authenticalion, persistence is considered as a kind of classic crosscutting concerns and suited to be dealt with using AOP. After analyzing statcof-thcart persistence frameworks or implementations,we found most of them cared too much about the obliviousness property which is inherent in AOP and hard to meet the need of actual applications either in functionality or performance. A practical framework of object persistence was proposed after probing into characters of persistence and mechanisms of aspectizing persistence. The framework not only preserved functionality and performance achieved by object oriented solution,but also wined higher rcusability,maintainability and portability by aspcctizing persistence.
Key words: Aspect oriented, Persistence, AOP, AspectJ
GU Si-shan,ZHAO Li-yang,LI Shi-xian. Practical Framework of Object Persistence[J].Computer Science, 2010, 37(8): 146-151.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.jsjkx.com/EN/
https://www.jsjkx.com/EN/Y2010/V37/I8/146
Cited