240 likes | 380 Views
SM@RT: A Tool Supporting Model-Based Runtime Management. For FSE Tool Demo. Model-based runtime management. For a running system Its environment and requirement keep changing We need to monitor and reconfigure it at runtime Model-based management Abstract and intuitive view
E N D
SM@RT: A Tool Supporting Model-Based Runtime Management For FSE Tool Demo
Model-based runtime management • For a running system • Its environment and requirement keep changing • We need to monitor and reconfigure it at runtime • Model-based management • Abstract and intuitive view • Reuse mature model-based techniques and approaches • Integrated in the whole life-cycle
Two major challenges • Ad hoc low-level management interface • Management API, specific to the platform • JMX, Fractal, PLASTIC, Android • A gap from the standard model-based techniques • Generic high-level model • Typical approaches need generic arch styles • C2, Client/Server, • Heterogeneous with the system structure
SM@RT tool • Supporting model-based runtime management • Developers provide high-level specification about their target system and preferred architecture style • We generate software facilities to address the above two challenges, for the specified management case
Tool Overview conforms to Runtime Architecture Architecture Meta-Model GenericSynchronizer customized into QVT Rule Synchronizer Runtime Model conforms to System Meta-Model Adapter Generator generates Adapter Access Model Management API Running System
Tool development • Research work underpinning the tool • For the “ad hoc management API” challenge • Modeling language for specifying APIs • Auto-generate “adapters” • For the “heterogeneous arch model” challenge • Use bi-transformation to link two heterogeneous models • A synchronization algorithm, addressing the issues like • Change conflicts, write failures, etc. • A set of properties
Tool Applications • Describe one case study in detail • C2-JOnAS • From specification to management scenarios • Introduce other case studies briefly
The C2-JOnAS Case Study • JOnAS • An open source JEE application server • A practical runtime system • C2 • An architecture style for UI centric systems • A typical arch style for arch-based management • Combine them together
Install SM@RT tool • Eclipse plug-ins • Eclipse platform 3.4 • JDK 6.0 • From the developer’s view • A set of graphical editors for writing the specification • A simple command for generation
Using the generated adapter • An example: OCL query on JOnAS system
Using the synchronizer • A graphical way to configure the synchronizer • Target system • Java pet store running onthe JOnAS Server
A runtime evolution case • Add RSS function into the pet store system • Management is performed at arch level • Allow users to subscribe RSS seed for pet information • Without stopping the system