首页> 外文会议>International conference on future information technology;ICFIT 2010 >Refactoring Berkeley DB Using Aspect-Oriented Programming
【24h】

Refactoring Berkeley DB Using Aspect-Oriented Programming

机译:使用面向方面的编程重构Berkeley DB

获取原文

摘要

Aspect-Oriented programming (AOP) is a newly developed technology which provides a graceful solution to the code crosscutting problem in the OO (object-oriented) system. In an OO system, the codes belonging to one module always scatter to other modules, which makes the system customization difficult to carry out. That's an instinct of OOP due to its incomplete encapsulation. AOP uses a linguistic unit called "Aspect" to make the crosscutting codes localized in one single place to eliminate the ripple effect of changing these codes. Database management system (DBMS) is a complicated software system with many interactive modules in its architecture. It's widely used in many different areas which demands we can easily make a DBMS customizable to meet the needs of different application backgrounds. In this paper, we propose a technical implementation on how to convert an OOP system to AOP system. We first introduce 5 kinds of extracting rules and bring out an extracting methodology based on the location of the crosscutting code. Next we use Berkeley DB (BDB) as a case study to demonstrate how the rules can help us to make a DBMS tailorable so as easier to customize. Through our experiment we determine that AOP is a very efficacy way for separating crosscutting concerns. It can improve the modularity and maintainability of the original system. But there still existing some disadvantages and drawbacks about this technology. We also evaluate these challenges in this paper.
机译:面向方面的编程(AOP)是一项新开发的技术,它为OO(面向对象)系统中的代码横切问题提供了一个优美的解决方案。在OO系统中,属于一个模块的代码总是分散到其他模块,这使得系统定制难以执行。由于其不完整的封装,这是OOP的一种本能。 AOP使用一种称为“方面”的语言单元将横切代码定位在一个位置,以消除更改这些代码的连锁反应。数据库管理系统(DBMS)是一个复杂的软件系统,其体系结构中包含许多交互式模块。它广泛应用于许多不同的领域,这要求我们可以轻松地定制DBMS以满足不同应用程序背景的需求。在本文中,我们提出了有关如何将OOP系统转换为AOP系统的技术实现。我们首先介绍5种提取规则,并根据横切代码的位置提出提取方法。接下来,我们使用Berkeley DB(BDB)作为案例研究,以演示规则如何帮助我们使DBMS可定制,从而更易于定制。通过我们的实验,我们确定AOP是分离横切关注点的一种非常有效的方法。它可以提高原始系统的模块化和可维护性。但是该技术仍然存在一些缺点和缺点。我们还在本文中评估了这些挑战。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号