Towards Architecture-Level Middleware-Enabled Exception Handling of Component-based Systems
Résumé
Exception handling is a practical and important way to improve the availability and reliability of a component-based system. The classical code-level exception handling approach is usually applied to the inside of a component, while some exceptions can only or properly be handled outside of the components. In this paper, we propose a middleware-enabled approach for exception handling at architecture level. Developers specify what exceptions should be handled and how to handle them with the support of middleware in an exception handling model, which is complementary to software architecture of the target system. This model will be interpreted at runtime by a middleware-enabled exception handling framework, which is responsible for catching and handling the specified exceptions mainly based on the common mechanisms provided by the middleware. Though the approach is general enough for almost all middleware-enabled systems, the framework is specific to the concrete middleware. Consequently, we demonstrate the approach in JEE (Java Platform Enterprise Edition) application servers and experiment on JEE benchmark system. We believe that this architecture-level exception handling approach, together with the classical code-level approach, can handle exceptions in component-based systems in a sufficient, efficient and flexible manner.
Domaines
Génie logiciel [cs.SE]Origine | Accord explicite pour ce dépôt |
---|
Loading...