Due to the continuously changing environment of service-based applications (SBAs), the ability to adapt to environmental and contextual changes has become a crucial characteristic of such applications. Providing SBAs with this ability is a complex task, usually prepared in an unsystematic way and interwoven with application logic. As a result, developing and maintaining adaptive SBAs has become a costly and hardly repeatable process. The objective of this paper is to present a model-based approach to developing adaptive SBAs, which separates development of adaptation concerns from development of SBAs behaviors. This approach aims to facilitate and automate development of adaptive behaviors. In this paper, the process of developing an adaptive SBA is defined as specifying adaptive SBA models based on a metamodel and reusable adaptation tactics. These models are then transformed into runtime model artifacts and running system units performing runtime adaptive behaviors. The approach introduces a systematic method to derive adaptation behaviors from adaptation models, which facilitates the development of adaptive behaviors. The results show that using our approach can enhance the development process of adaptive behaviors in terms of development time and code quality, particularly for scenarios that are more complex in terms of adaptation rather than business logic.
翻译:由于基于服务的应用环境不断变化,适应环境和环境变化的能力已成为这种应用的关键特征。提供这种能力是一项复杂的任务,通常以非系统的方式编制,并且与应用逻辑交织在一起。因此,开发和维护适应性SBA已经成为一个昂贵和难于重复的过程。本文件的目的是提出一种基于模型的办法来开发适应性SBA,该模型将适应性关注的发展与SBA行为的发展区分开来。这一方法旨在便利和自动发展适应性行为。在本文中,开发适应性SBA的过程被定义为在元模型和可再使用适应性适应性策略的基础上具体说明适应性SBA模型的过程。这些模型随后转变为运行时间模型的工艺品和运行运行运行运行运行运行时间适应性适应行为的系统单元。该方法采用了一种系统的方法,从适应性模型中推导出适应行为,从而便利适应行为的发展。结果表明,使用我们的方法可以在发展时间和代码质量方面加强适应性行为的发展过程,特别是对于适应性比商业逻辑更为复杂的情景而言。