Modeling of Component Arrays via Scenario Driven Approach
The component array is a group of components that implement the same functions but provide different qualities. These component implementations can be switched at runtime for satisfying different user requirements and coping with environment changes. However, the design of component arrays is completely performed by hands of developers, which is complex, time-consuming, error-prone, and is poor at keeping up with the actual runtime conditions. This paper presents a scenario-driven state-based approach to modeling component arrays for satisfying requirements of predictable qualities. The automation of four vital steps of this approach is dependent on the interaction based modeling and state-machine based modeling. The approach is illustrated with UML (Unified Modeling Language) and the demonstration and experimentation are implemented on JEE (Java 2 Platform Enterprise Edition).