The Modularization of Scenario Implementation

Thumbnail Image

View/Download File

Persistent link to this item

View Statistics

Journal Title

Journal ISSN

Volume Title


The Modularization of Scenario Implementation

Published Date






The notion of ``scenarios'' has become an important concept for understanding and specifying the required behaviors for a software system and its components during requirements gathering, analysis, and software design. Unfortunately, in existing programming languages, there is no programming abstraction for modularizing the implementation of scenarios in a program. Like a cross-cutting concern, when implemented with a traditional programming language, a scenario may have to be implemented with statements that scatter at various locations in the program. These statements may also tangle with the statements that implement other scenarios. This paper presents an extension to object-oriented programming languages that allows the software developers to define, within a scenario implementation module, the implementation for a set of related scenarios that represent the alternative paths that the system and its components will take in performing a specific task. At runtime, the scenario implementation module can be instantiated to observe the execution events within specific program contexts and to perform appropriate scenario actions in response for integrating the scenarios into the program execution. When used properly, this new kind of behavior abstraction can improve the program structures and the traceability of the scenarios from design to implementation.



Related to



Series/Report Number

Funding information

Isbn identifier

Doi identifier

Previously Published Citation

Suggested citation

Liang, Donglin. (2004). The Modularization of Scenario Implementation. Retrieved from the University Digital Conservancy,

Content distributed via the University Digital Conservancy may be subject to additional license and use restrictions applied by the depositor. By using these files, users agree to the Terms of Use. Materials in the UDC may contain content that is disturbing and/or harmful. For more information, please see our statement on harmful content in digital repositories.