Layer Modeling and Its Code Generation based on Context-oriented Programming

被引:1
作者
Yamamoto, Chinatsu [1 ]
Tanigawa, Ikuta [1 ]
Hisazumi, Kenji [2 ]
Sato, Mikiko [1 ]
Ohkawa, Takeshi [1 ]
Ogura, Nobuhiko [3 ]
Watanabe, Harumi [1 ]
机构
[1] Tokai Univ, Sch Informat & Telecommun Engn, Minato Ku, 2-3-23 Takanawa, Tokyo 1088619, Japan
[2] Kyushu Univ, Fac Informat Sci & Elect Engn, Dept Adv Informat Technol, 744 Motooka, Fukuoka 8190395, Japan
[3] Tokyo City Univ, Grad Sch Environm & Informat Studies, Tsuzuki Ku, 3-3-1 Ushikubo Nishi, Yokohama, Kanagawa 2248551, Japan
来源
PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD) | 2021年
关键词
Model-driven Development; Context-oriented Programming; Runtime Cross-cutting Concerns;
D O I
10.5220/0010328303300336
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper contributes to the runtime cross-cutting concerns problem by a layer structure model based on UML (Unified-Modeling Language) and code generation to COP (Context-Oriented Programming). For software development, the cross-cutting concerns problem is well-known to cause complicated models. The reason is that one cross-cutting concern affects multiple objects. Also, the problems occasionally occur at runtime. Recently, this problem has become more challenging. Modern software such as IoTs usually connect with many machines and devices and change context-dependent behavior at runtime. Thus, runtime crosscutting problems will occur increasingly. To solve this problem, we focus on the COP. It can gather scattered cross-cutting concerns in one module called the layer and change the layer at runtime. However, UML lacks the notation involving COP and also the code generation. Therefore, the first step to solve the runtime crosscutting concerns problem is to propose a layer structure model on UML and COP code generation from its model.
引用
收藏
页码:330 / 336
页数:7
相关论文
共 14 条
[1]  
[Anonymous], 2019, INT C ENG EMERGING T
[2]  
Appeltauer Malte, 2011, Information and Media Technologies, V6, P399
[3]  
Appeltauer M, 2010, LECT NOTES COMPUT SC, V6144, P50, DOI 10.1007/978-3-642-14046-4_4
[4]   50 Years of Software Engineering Progress and Perils [J].
Ebert, Christof .
IEEE SOFTWARE, 2018, 35 (05) :94-101
[5]   Context-oriented Programming [J].
Hirschfeld, Robert ;
Costanza, Pascal ;
Nierstrasz, Oscar .
JOURNAL OF OBJECT TECHNOLOGY, 2008, 7 (03) :125-151
[6]  
Kamina T., 2011, Proceedings of the Tenth International Conference on Aspect-Oriented Software Development, AOSD'11, page, P253
[7]   An open implementation for context-oriented layer composition in ContextJS']JS [J].
Lincke, Jens ;
Appeltauer, Malte ;
Steinert, Bastian ;
Hirschfeld, Robert .
SCIENCE OF COMPUTER PROGRAMMING, 2011, 76 (12) :1194-1209
[8]   Context-oriented programming: A software engineering perspective [J].
Salvaneschi, Guido ;
Ghezzi, Carlo ;
Pradella, Matteo .
JOURNAL OF SYSTEMS AND SOFTWARE, 2012, 85 (08) :1801-1817
[9]   A Component Model for Model Transformations [J].
Sanchez Cuadrado, Jesus ;
Guerra, Esther ;
de Lara, Juan .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2014, 40 (11) :1042-1060
[10]   RTCOP: Context-Oriented Programming Framework based on C plus plus for Application in Embedded Software [J].
Tanigawa, Ikuta ;
Hisazumi, Kenji ;
Ogura, Nobuhiko ;
Sugaya, Midori ;
Watanabe, Harumi ;
Fukuda, Akira .
PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SYSTEMS (ICISS 2019), 2019, :65-72