An approach for mapping the aspect state models to aspect-oriented code

Model-driven code generation allows rapid generation of precise code thus reducing the development effort and the delivery time. Consequently, model-driven code generation has been a topic of interest in varying perspectives. While model-driven code generation has been explored well in many domains,...

Full description

Bibliographic Details
Main Authors: Mehmood, A., Jawawi, D. N. A., Zeshan, F.
Format: Conference or Workshop Item
Language:English
Published: 2019
Subjects:
Online Access:http://eprints.utm.my/90338/1/DayangNAJawawi2019_AnApproachforMapping.pdf
_version_ 1796865009164222464
author Mehmood, A.
Jawawi, D. N. A.
Zeshan, F.
author_facet Mehmood, A.
Jawawi, D. N. A.
Zeshan, F.
author_sort Mehmood, A.
collection ePrints
description Model-driven code generation allows rapid generation of precise code thus reducing the development effort and the delivery time. Consequently, model-driven code generation has been a topic of interest in varying perspectives. While model-driven code generation has been explored well in many domains, its full potential has not been exploited in the context of aspect-oriented software development. The existing approaches have mainly focused on code generation from class diagrams only. Code generation from class diagrams is straightforward as majority of the constructs involved in these diagrams are directly mapped to those in programming languages. However, code generated using class diagrams is limited to skeletons of classes and methods only and does not contain behavior. In this study, we use the state diagrams and propose a mapping of its constructs to AspectJ language. We use the Reusable Aspect Models notation for this purpose. The approach addresses the mapping of both structure and behavior, however, owing to their strength with respect to modeling the system behavior, it essentially focuses on the state diagrams encapsulated in these models. A detailed mapping of different features of the state diagrams is proposed. The approach is illustrated by means of aspect models and corresponding mapped code from an aspect-oriented implementation of a Remote Service Caller example. The implementation shows that the approach can effectively be applied to obtain code for complete structure and behavior modeled using Reusable Aspect Models.
first_indexed 2024-03-05T20:50:28Z
format Conference or Workshop Item
id utm.eprints-90338
institution Universiti Teknologi Malaysia - ePrints
language English
last_indexed 2024-03-05T20:50:28Z
publishDate 2019
record_format dspace
spelling utm.eprints-903382021-04-18T04:01:53Z http://eprints.utm.my/90338/ An approach for mapping the aspect state models to aspect-oriented code Mehmood, A. Jawawi, D. N. A. Zeshan, F. QA75 Electronic computers. Computer science Model-driven code generation allows rapid generation of precise code thus reducing the development effort and the delivery time. Consequently, model-driven code generation has been a topic of interest in varying perspectives. While model-driven code generation has been explored well in many domains, its full potential has not been exploited in the context of aspect-oriented software development. The existing approaches have mainly focused on code generation from class diagrams only. Code generation from class diagrams is straightforward as majority of the constructs involved in these diagrams are directly mapped to those in programming languages. However, code generated using class diagrams is limited to skeletons of classes and methods only and does not contain behavior. In this study, we use the state diagrams and propose a mapping of its constructs to AspectJ language. We use the Reusable Aspect Models notation for this purpose. The approach addresses the mapping of both structure and behavior, however, owing to their strength with respect to modeling the system behavior, it essentially focuses on the state diagrams encapsulated in these models. A detailed mapping of different features of the state diagrams is proposed. The approach is illustrated by means of aspect models and corresponding mapped code from an aspect-oriented implementation of a Remote Service Caller example. The implementation shows that the approach can effectively be applied to obtain code for complete structure and behavior modeled using Reusable Aspect Models. 2019 Conference or Workshop Item PeerReviewed application/pdf en http://eprints.utm.my/90338/1/DayangNAJawawi2019_AnApproachforMapping.pdf Mehmood, A. and Jawawi, D. N. A. and Zeshan, F. (2019) An approach for mapping the aspect state models to aspect-oriented code. In: 2019 International Conference on Engineering and Emerging Technologies, ICEET 2019, 21-22 Feb 2019, Lahore, Pakistan. http://dx.doi.org/10.1109/CEET1.2019.8711837
spellingShingle QA75 Electronic computers. Computer science
Mehmood, A.
Jawawi, D. N. A.
Zeshan, F.
An approach for mapping the aspect state models to aspect-oriented code
title An approach for mapping the aspect state models to aspect-oriented code
title_full An approach for mapping the aspect state models to aspect-oriented code
title_fullStr An approach for mapping the aspect state models to aspect-oriented code
title_full_unstemmed An approach for mapping the aspect state models to aspect-oriented code
title_short An approach for mapping the aspect state models to aspect-oriented code
title_sort approach for mapping the aspect state models to aspect oriented code
topic QA75 Electronic computers. Computer science
url http://eprints.utm.my/90338/1/DayangNAJawawi2019_AnApproachforMapping.pdf
work_keys_str_mv AT mehmooda anapproachformappingtheaspectstatemodelstoaspectorientedcode
AT jawawidna anapproachformappingtheaspectstatemodelstoaspectorientedcode
AT zeshanf anapproachformappingtheaspectstatemodelstoaspectorientedcode
AT mehmooda approachformappingtheaspectstatemodelstoaspectorientedcode
AT jawawidna approachformappingtheaspectstatemodelstoaspectorientedcode
AT zeshanf approachformappingtheaspectstatemodelstoaspectorientedcode