Computer Science ›› 2010, Vol. 37 ›› Issue (8): 146-151.

Previous Articles     Next Articles

Practical Framework of Object Persistence

GU Si-shan,ZHAO Li-yang,LI Shi-xian   

  • Online:2018-12-01 Published:2018-12-01

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

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!