【24h】

From Endogenous to Exogenous Coordination Using Aspect-Oriented Programming

机译:使用面向方面的编程从内在协调到外在协调

获取原文
获取原文并翻译 | 示例

摘要

One of the main goals of coordination models and languages is to support a clear and distinct separation between computation and coordination in applications based on cooperating components. Nevertheless, this separation is not always reflected at the level of the source code. This is the case for the so-called endogenous coordination models and languages (see e.g. Linda) that provide coordination primitives that must be incorporated within a computational language. In this way, there is no piece of source code identifiable as the coordination module, thus losing the advantages of a distinct design and development. In this paper, we investigate aspect-oriented programming as a technology for supporting the modularization of the coordination part even if an endogenous coordination model is considered. More precisely, we propose to encapsulate the coordination actions inside aspects while describing the single points of the computational part in which coordination comes into play as join points. Following this approach, we show that we can rewrite a distributed application, moving from an underlying endogenous data-driven to an endogenous event-driven coordination model, simply by replacing the coordination aspects and leaving the computational code unchanged.
机译:协调模型和语言的主要目标之一是支持基于协作组件的应用程序中的计算与协调之间的清晰明显区分。但是,这种分离并不总是反映在源代码级别。所谓的内生协调模型和语言(参见例如琳达)就是这种情况,其提供必须被并入计算语言中的协调原语。这样,就没有可识别的源代码片段作为协调模块,从而失去了独特设计和开发的优势。在本文中,我们研究了面向方面的编程,这是一种即使考虑到内生的协调模型也能支持协调部分模块化的技术。更准确地说,我们建议将协调动作封装在各个方面中,同时将计算在其中发挥协调作用的计算部分的单点描述为连接点。按照这种方法,我们证明了我们可以重写分布式应用程序,从底层的内在数据驱动到内在的事件驱动的协调模型,只需替换协调方面并使计算代码保持不变即可。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号