Modeling Request Routing in Web Applications

Minmin Han, C. Hofmeister
{"title":"Modeling Request Routing in Web Applications","authors":"Minmin Han, C. Hofmeister","doi":"10.1109/WSE.2006.14","DOIUrl":null,"url":null,"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","PeriodicalId":174396,"journal":{"name":"2006 Eighth IEEE International Symposium on Web Site Evolution (WSE'06)","volume":"54 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 Eighth IEEE International Symposium on Web Site Evolution (WSE'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WSE.2006.14","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

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
Web应用程序中的请求路由建模
对于Web应用程序,由于J2EE等平台中使用的一组复杂的规则和机制,确定来自Web页面的请求如何通过服务器组件路由可能非常耗时且容易出错。我们将请求路由定义为处理请求的服务器端组件的可能序列。许多维护任务需要开发人员了解请求路由,因此这种复杂性增加了维护成本。然而,在体系结构级别查看这个问题可以提供一些见解。这些Web应用程序中的请求路由是管道体系结构模式的一个示例:每个请求由组成管道的一系列组件处理。管道阶段之间的通信是基于事件的,这增加了灵活性,但由于通信是间接的,因此模糊了管道结构。我们改进J2EE Web应用程序可维护性的方法是提供一个公开此体系结构信息的模型。我们使用Z正式指定请求路由模型和可以对其执行的分析操作,然后提供工具从应用程序的源代码中提取请求路由信息,创建请求路由模型,并自动分析它。我们已经将这种方法应用于许多LOC高达34K的现有应用程序,通过典型的维护场景显示出改进。由于这种特殊的模式组合并不是Web应用程序所独有的,因此像我们的请求路由模型这样的模型也可以为这些系统提供类似的好处
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信