Generating Code from Scenario and State Based Models to Address Crosscutting Concerns
Mark Mahoney, Tzilla Elrad · 2007
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.