Improving web service interfaces modularity using multi-objective optimization

被引:11
作者
Boukharata, Sabrine [1 ]
Ouni, Ali [1 ]
Kessentini, Marouane [2 ]
Bouktif, Salah [3 ]
Wang, Hanzhang [4 ]
机构
[1] Univ Quebec, ETS Montreal, Montreal, PQ, Canada
[2] Univ Michigan, Comp & Informat Sci Dept, Ann Arbor, MI 48109 USA
[3] UAE Univ, Coll Informat Technol, Al Ain, U Arab Emirates
[4] eBay, San Jose, CA USA
基金
加拿大自然科学与工程研究理事会;
关键词
Web service; Web service interface; Service design; Modularity; SOA; Searchbased software engineering; OPPORTUNITIES; COHESION; IMPACT;
D O I
10.1007/s10515-019-00256-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Service interface is a critical component in a service-oriented architecture (SOA). As first-class design artifact, a service interface should be properly designed to provide best practice of third-party reuse. However, a very common bad service design practice in existing SOAs is to place semantically unrelated operations implementing several abstractions in a single interface. Poorly designed service interfaces can have a negative effect on all client applications that use these services. Indeed, services with such poor interface structure tend to be difficult to comprehend, maintain and reuse in business processes, leading to unsuccessful services. Necessarily, then, service designers should refactor, i.e., restructure, their service interface into smaller, more cohesive interfaces, each representing a specific abstraction. To address this problem, we introduce a novel approach, namely WSIRem, to support service's developers in improving the modularization of their service interfaces. WSIRem is based on a multi-objective search-based optimization approach to find the appropriate modularization of a service interface into smaller, more cohesive and loosely coupled interfaces, each implementing a distinct abstraction. WSIRem has been empirically evaluated on a benchmark of 22 real-world Web services provided by Amazon and Yahoo. Results show that the automatically identified interfaces improved the services interface structure. Qualitative evaluation of WSIRem with developers showed the performance of WSIRem in terms of understandability, where the new WSIRem interfaces were recognized as relevant' from developers point of view with more than 73% of precision and 77% of recall. Overall, the obtained results show that WSIRem outperforms state-of-the-art approaches relying on traditional partitioning techniques.
引用
收藏
页码:275 / 312
页数:38
相关论文
共 69 条
[1]   Automatic Package Coupling and Cycle Minimization [J].
Abdeen, Hani ;
Ducasse, Stephane ;
Sahraoui, Houari ;
Alloui, Ilham .
16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, :103-+
[2]  
Anquetil N., 1999, Sixth Working Conference on Reverse Engineering (Cat. No.PR00303), P235, DOI 10.1109/WCRE.1999.806964
[3]  
Athanasopoulos D., 2011, Proceedings of the 2011 IEEE International Conference on Web Services (ICWS 2011), P588, DOI 10.1109/ICWS.2011.27
[4]  
Athanasopoulos D., 2015, IEEE T SERV COMPUT, V8, P1
[5]   Automating extract class refactoring: an improved method and its evaluation [J].
Bavota, Gabriele ;
De Lucia, Andrea ;
Marcus, Andrian ;
Oliveto, Rocco .
EMPIRICAL SOFTWARE ENGINEERING, 2014, 19 (06) :1617-1664
[6]   Identifying Extract Class refactoring opportunities using structural and semantic cohesion measures [J].
Bavota, Gabriele ;
De Lucia, Andrea ;
Oliveto, Rocco .
JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (03) :397-414
[7]  
Budgen D, 1999, SOFTWARE DESIGN
[8]  
Card DavidN., 1990, MEASURING SOFTWARE D
[9]  
CHISNALL PM, 1993, J MARKET RES SOC, V35, P392
[10]   DOMINANCE STATISTICS - ORDINAL ANALYSES TO ANSWER ORDINAL QUESTIONS [J].
CLIFF, N .
PSYCHOLOGICAL BULLETIN, 1993, 114 (03) :494-509