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

Chinatsu Yamamoto, Ikuta Tanigawa, Kenji Hisazumi, Mikiko Sato, Takeshi Ohkawa, Nobuhiko Ogura, Harumi Watanabe

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 structure model on UML and COP code generation from its model.

Download


Paper Citation


in Harvard Style

Yamamoto C., Tanigawa I., Hisazumi K., Sato M., Ohkawa T., Ogura N. and Watanabe H. (2021). Layer Modeling and Its Code Generation based on Context-oriented Programming.In Proceedings of the 9th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-487-9, pages 330-336. DOI: 10.5220/0010328303300336


in Bibtex Style

@conference{modelsward21,
author={Chinatsu Yamamoto and Ikuta Tanigawa and Kenji Hisazumi and Mikiko Sato and Takeshi Ohkawa and Nobuhiko Ogura and Harumi Watanabe},
title={Layer Modeling and Its Code Generation based on Context-oriented Programming},
booktitle={Proceedings of the 9th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2021},
pages={330-336},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010328303300336},
isbn={978-989-758-487-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 9th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Layer Modeling and Its Code Generation based on Context-oriented Programming
SN - 978-989-758-487-9
AU - Yamamoto C.
AU - Tanigawa I.
AU - Hisazumi K.
AU - Sato M.
AU - Ohkawa T.
AU - Ogura N.
AU - Watanabe H.
PY - 2021
SP - 330
EP - 336
DO - 10.5220/0010328303300336