1 Department of Electrical and Computer Engineering, Shahid Beheshti University

2 Department of Computer Engineering and Science, Shahid Beheshti University, Tehran, Iran.


Service-based applications (SBA) offer flexible functionalities in wide range ofenvironments. Therefore, they should be able to dynamically adapt to differentquality concerns such as security, performance, etc. For example, we mayprovide secure services for the specific partners, or change SBA configurationbased on context information. In this paper, we present context models andfuzzy logic controllers to reconfigure SBA at runtime. To separate the controlaspects of SBA from its functionalities and maintain the states of SBA, weused Reflective-state pattern. Whenever context information changes, theviolated SBA instances enter the adaptation process and the control unit takescare of analyzing and selecting possible variants in the corresponding points.We used Jmeter load simulator and Zabbix monitoring system to measure theperformance improvement in our framework. Additionally we characterizedour work in comparison with related studies, according to S-CUBE adaptationtaxonomy.