期刊文献+

一种实用的对象持久化框架

Practical Framework of Object Persistence
下载PDF
导出
摘要 面向方面编程分离了核心关注点和横切关注点,提供了模块化横切关注点的机制,很好地解决了面向对象技术处理横切关注点时存在的代码散布和代码纠缠问题。和日记记录、安全验证等业务一样,持久化也被认为是经典的横切关注点业务,适合用AOP来实现。分析了现有的基于AOP的持久化实现,发现大部分实现过于追求AOP要求的obliviousness特性,而在功能或性能上难以满足现实应用的需求。探讨了持久化的特点及持久方面化的机制,提出了一套实用的基于AOP的持久化框架。该框架保持了面向对象持久化技术的功能及性能,同时又具有方面化持久业务所带来的更高的可重用性、可维护性及可移植性。 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 authentication,persistence is considered as a kind of classic cross-cutting concerns and suited to be dealt with using AOP. After analyzing state-of-the-art 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 reusability,maintainability and portability by aspectizing persistence.
出处 《计算机科学》 CSCD 北大核心 2010年第8期146-151,共6页 Computer Science
基金 广东省自然科学基金自由申请项目资助
关键词 面向方面 持久化 AOP ASPECTJ Aspect-oriented, Persistence, AOP, AspectJ
  • 相关文献

参考文献27

  • 1Gregor K,Lamping J,Mendhekar A,et al.Aspect-oriented Programming[C] ∥Proceedings of the European Conference on Object-Oriented Programming.vol 1241:220-242.
  • 2http://eclipse.org/aspectj/
  • 3http://aspectwerkz.codehaus.org/.
  • 4http://jboss.org/jbossaop/.
  • 5http://www.aspectc.org/.
  • 6http://wwwiti.cs.uni-magdeburg.de/iti_db/forschung/fop/fea-turec/.
  • 7http://www.castleproject.org/aspectsharp/.
  • 8http://www.facultyresourcecenter.com/curriculum/pfv.aspx?ID=6801.
  • 9Douglas B,Torsten S.Solving the Java Object Storage Problem[J].Computer,1998,31(11):33-40.
  • 10Java Data Objects Specification[S].Version:2.0,2005.

二级参考文献10

  • 1Atkinson & Morrison. Orthogonally persistent object systems[J]. VLDB Journal, 1995.
  • 2Ambler S.Mapping Objects to Relational Databases:O/R Mapping In Detail[OL]. http://www. agiledata. org/essays/mappingObjects. html.
  • 3JDBC 3.0 Specification[R]. Sun Inc. 2003.
  • 4G Kiczales, et al. Aspect-oriented programming[A]. Proc of European Conf Object-Oriented Programming ( ECOOP97 )[C]. 1997.
  • 5SUN Microsystems. Enterprise JavaBeans Specification [R]. Version 2.0,Final Release,August 2001.
  • 6SUN Microsystems. Enterprise JavaBeans Specification[ R ]. Version 3.0 EDR2,2005.
  • 7Java Data Objects Specification[R]. Version:2.0,2005.
  • 8Hibernate Reference Documentation, Version: 3.2.3. ga[OL]. http: / / www. hibernate. org/.
  • 9Java Persistence Aspect[OL]. Version 0.6,November 6,2004, http://soureeforge. net/projects/jpa.
  • 10Persistent Applications Toolkit[OL]. Version stable M1,June 30,2005, http ://patsystem. sourceforge. net.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部