Generating Code from Scenario and State Based Models to Address Crosscutting Concerns

M. Mahoney, T. Elrad
{"title":"Generating Code from Scenario and State Based Models to Address Crosscutting Concerns","authors":"M. Mahoney, T. Elrad","doi":"10.1109/SCESM.2007.2","DOIUrl":null,"url":null,"abstract":"Core application concerns are often modeled using either scenarios or state machines. Crosscutting concerns can also be modeled using either scenarios or state machines. Both scenario and state machine models can be used to generate code. When core and crosscutting concern models are the same type it is relatively straightforward to weave them together and generate code. However, when they are of dissimilar types a new approach must be taken. This paper describes how a core concern modeled as a scenario can be used with a crosscutting concern modeled with a state machine (and vice versa) to generate code.","PeriodicalId":380882,"journal":{"name":"Sixth International Workshop on Scenarios and State Machines (SCESM'07: ICSE Workshops 2007)","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sixth International Workshop on Scenarios and State Machines (SCESM'07: ICSE Workshops 2007)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCESM.2007.2","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Core application concerns are often modeled using either scenarios or state machines. Crosscutting concerns can also be modeled using either scenarios or state machines. Both scenario and state machine models can be used to generate code. When core and crosscutting concern models are the same type it is relatively straightforward to weave them together and generate code. However, when they are of dissimilar types a new approach must be taken. This paper describes how a core concern modeled as a scenario can be used with a crosscutting concern modeled with a state machine (and vice versa) to generate code.
从基于场景和状态的模型生成代码来处理横切关注点
核心应用程序关注点通常使用场景或状态机进行建模。横切关注点也可以使用场景或状态机进行建模。场景和状态机模型都可以用来生成代码。当核心和横切关注模型是相同类型时,将它们编织在一起并生成代码相对简单。但是,当它们的类型不同时,必须采取新的方法。本文描述了如何将建模为场景的核心关注与使用状态机建模的横切关注一起使用以生成代码(反之亦然)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信