期刊文献+

TransJ: An Abstract Independent-Framework for Weaving Crosscutting Concern into Distributed Transactions

TransJ: An Abstract Independent-Framework for Weaving Crosscutting Concern into Distributed Transactions
下载PDF
导出
摘要 Implementing crosscutting concerns for transactions is difficult, even using aspect-oriented programming languages such as AspectJ. Many of these challenges arise because the context of a transaction-related crosscutting concern consists of loosely-coupled abstractions like dynamically-generated identifiers, timestamps, and tentative value sets of distributed resources. Current aspect-oriented programming languages do not provide joinpoints and pointcuts for weaving advice into high-level abstractions or contexts, like transaction contexts. To address these problems, we propose an extension to AspectJ framework, called TransJ, that allows developers to define pointcuts in terms of transaction abstractions and that automatically keeps track of context information for transactions. This paper describes TransJ as an abstract independent framework for weaving crosscutting concerns into high-level runtime abstractions, with which developers can implement transaction-related crosscutting concerns in modular, cohesive and loosely coupled transaction-aware aspects. Finally, this paper presents eight different ways in which TransJ can improve the reuse with preserving the performance of applications requiring transactions. Informally, these hypotheses are that TransJ yields (1) better encapsulation and separation of concern; (2) looser coupling and less scattering; (3) higher cohesion and less tangling; (4) reduces complexity; (5) improves obliviousness; (6) preserves efficiency; (7) improves extensibility; and (8) hastens the productivity. A brief discussion of experiment to test the hypotheses is provided, but the details of the experiment are left for another paper.
出处 《Computer Technology and Application》 2016年第4期173-195,共23页 计算机技术与应用(英文版)
关键词 AOP ASPECTJ TRANSACTION joinpoint model context crosscutting concern encapsulation high-level abstractions MODULARITY reuse. 横切关注点 分布式事务 抽象 框架 AspectJ 上下文信息 编程语言 松散耦合
  • 相关文献

参考文献40

  • 1Brooks, F. P. Jr. 1987. "No Silver Bullet, Essence and Accidents of Sotb, vare Engineering." IEEE Computer 20 (4): 10-9.
  • 2Booch, G., and Maksimchu, R. M. 2007. "Object-Oriented Analysis and Design with Applications." Addison-Wesley Professional, third edition. Boston: Published April 1st.
  • 3Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C. V., Loingtier, J. M., and Irwin, J. 1997. "Aspect-Oriented Programming." In Proceedings of ECOOP '97, Springer Verlag, 220-42.
  • 4Gradecki, J., and Lesiecki, N. 2003. "Mastering AspectJ." Wiley Publishing Inc., 456. ISBN: 978-0-471-43104-6.
  • 5Roserthainer, L. 2004. "Identifying Crosscutting Concerns in Requirements Specifications." In Proceedings of OOPSLA Early Aspects. October 2004, Vancouver, Canada. http:// trese.cs.utwente.nl/Docs/workshops/oopsla-early- aspects- 2004/.
  • 6Clifton, C., and Leavens, G. T. 2003. "Obliviousness, Modular Reasoning, and the Behavior Subtyping Analogy." In Proceedings of the Workshop on Software Engineering Properties of Languages for Aspect Technologies (SPLAT), Workshop at AOSD, 1-6.
  • 7Kiczales, G., and Mezini, M. 2005. "Aspect-Oriented Programming and Modular Reasoning." In Proc. 27th Int. Conf. Software Engineering, St. Louis, MO, 49-58.
  • 8Eclipse. 2015. AspectJ. [Online]. Available http://www.eclipse.org/aspectJ/.
  • 9Aspectwerkz2. 2015. Plain Java AOP. [Online]. Available http://aspectwerkz.codehaus.org/.
  • 10Jboss. 2015. JBoss AOP. [Online]. Available http://www.jboss.org/jbossaop.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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