Title :
Modeling Request Routing in Web Applications
Author :
Han, Minmin ; Hofmeister, Christine
Author_Institution :
Lehigh Univ., Bethlehem, PA
Abstract :
For Web applications, determining how requests from a Web page are routed through server components can be time-consuming and error-prone due to the complex set of rules and mechanisms used in a platform such as J2EE. We define request routing to be the possible sequences of server-side components that handle requests. Many maintenance tasks require the developer to understand the request routing, so this complexity increases maintenance costs. However, viewing this problem at the architecture level provides some insight. The request routing in these Web applications is an example of a pipeline architectural pattern: each request is processed by a sequence of components that form a pipeline. Communication between pipeline stages is event-based, which increases flexibility but obscures the pipeline structure because communication is indirect. Our approach for improving the maintainability of J2EE Web applications is to provide a model that exposes this architectural information. We use Z to formally specify request routing models and analysis operations that can be performed on them, then provide tools to extract request routing information from an application´s source code, create the request routing model, and analyze it automatically. We have applied this approach to a number of existing applications up to 34K LOC, showing improvement via typical maintenance scenarios. Since this particular combination of patterns is not unique to Web applications, a model such as our request routing model could provide similar benefits for these systems
Keywords :
Internet; Java; software architecture; J2EE Web application; modeling request routing; pipeline architectural pattern; server-side components; Information analysis; Information filtering; Information filters; Java; Performance analysis; Pipelines; Routing; Runtime; Table lookup; Web pages;
Conference_Titel :
Web Site Evolution, 2006. WSE '06. Eighth IEEE International Symposium on
Conference_Location :
Philadelphia, PA
Print_ISBN :
0-7695-2696-9
DOI :
10.1109/WSE.2006.14