Authors:
Chinatsu Yamamoto
1
;
Ikuta Tanigawa
1
;
Kenji Hisazumi
2
;
Mikiko Sato
1
;
Takeshi Ohkawa
1
;
Nobuhiko Ogura
3
and
Harumi Watanabe
1
Affiliations:
1
School of Information and Telecommunication Engineering, Tokai University, 2-3-23, Takanawa, Minato-ku, Tokyo 108-8619, Japan
;
2
Department of Advanced Information Technology, Faculty of Information Science and Electrical Engineering, Kyushu University,744, Motooka, Nishi-ku, Fukuoka 819-0395, Japan
;
3
Graduate School of Environmental and Information Studies, Tokyo City University, 3-3-1 Ushikubo-nishi, Tsuzuki-ku, Yokohama, Kanagawa 224-8551, Japan
Keyword(s):
Model-driven Development, Context-oriented Programming, Runtime Cross-cutting Concerns.
Abstract:
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 cross-cutting 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 cross-cutting concerns problem is to propose a layer struct
ure model on UML and COP code generation from its model.
(More)