基于java的电子商务系统的性能工程

Te-Kai Liu, S. Kumaran, Jen-Yao Chung
{"title":"基于java的电子商务系统的性能工程","authors":"Te-Kai Liu, S. Kumaran, Jen-Yao Chung","doi":"10.1109/EEE.2004.1287286","DOIUrl":null,"url":null,"abstract":"The development of enterprise Web applications has evolved from writing servlets using JDBC calls for database access to a component-based paradigm where database access is replaced by calling enterprise JavaBeans (EJB), a Java representation of business objects. Using this component-based paradigm, business logics are encapsulated in coarse-grain session beans, leaving servlets the role of a request dispatcher which converts HTTP requests for servlets into RMI/IIOP requests for session beans and invokes JSP for result presentation. The performance of such a multitier enterprise Web application is dominated by the performance of the EJB. We investigate a model-based approach for performance engineering of multitier enterprise Java applications. A layer queueing model comprising the layers of client applications, session beans, entity beans, and data sources is proposed. By taking into account network latency and RMI overhead, the model can be used to predict the delay-throughput performance of the system and to study issues related to deployment topology. As an example, a layered queueing model is created for an application framework for B2B e-commerce, a real world EJB application. A case study is presented to show the effect of database access delay to the tuning of the connection pool size of data sources.","PeriodicalId":360167,"journal":{"name":"IEEE International Conference on e-Technology, e-Commerce and e-Service, 2004. EEE '04. 2004","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Performance engineering of a Java-based e-commerce system\",\"authors\":\"Te-Kai Liu, S. Kumaran, Jen-Yao Chung\",\"doi\":\"10.1109/EEE.2004.1287286\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The development of enterprise Web applications has evolved from writing servlets using JDBC calls for database access to a component-based paradigm where database access is replaced by calling enterprise JavaBeans (EJB), a Java representation of business objects. Using this component-based paradigm, business logics are encapsulated in coarse-grain session beans, leaving servlets the role of a request dispatcher which converts HTTP requests for servlets into RMI/IIOP requests for session beans and invokes JSP for result presentation. The performance of such a multitier enterprise Web application is dominated by the performance of the EJB. We investigate a model-based approach for performance engineering of multitier enterprise Java applications. A layer queueing model comprising the layers of client applications, session beans, entity beans, and data sources is proposed. By taking into account network latency and RMI overhead, the model can be used to predict the delay-throughput performance of the system and to study issues related to deployment topology. As an example, a layered queueing model is created for an application framework for B2B e-commerce, a real world EJB application. A case study is presented to show the effect of database access delay to the tuning of the connection pool size of data sources.\",\"PeriodicalId\":360167,\"journal\":{\"name\":\"IEEE International Conference on e-Technology, e-Commerce and e-Service, 2004. EEE '04. 2004\",\"volume\":\"49 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2004-03-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE International Conference on e-Technology, e-Commerce and e-Service, 2004. EEE '04. 2004\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/EEE.2004.1287286\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE International Conference on e-Technology, e-Commerce and e-Service, 2004. EEE '04. 2004","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EEE.2004.1287286","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

摘要

企业Web应用程序的开发已经从使用JDBC调用编写servlet进行数据库访问演变为基于组件的范例,其中数据库访问被调用企业JavaBeans (EJB)(业务对象的Java表示)所取代。使用这种基于组件的范例,业务逻辑被封装在粗粒度会话bean中,使servlet充当请求分派器的角色,将servlet的HTTP请求转换为会话bean的RMI/IIOP请求,并调用JSP进行结果表示。这种多层企业Web应用程序的性能主要取决于EJB的性能。我们研究了一种基于模型的方法,用于多层企业Java应用程序的性能工程。提出了一个由客户端应用程序层、会话bean层、实体bean层和数据源层组成的层排队模型。通过考虑网络延迟和RMI开销,该模型可用于预测系统的延迟吞吐量性能,并研究与部署拓扑相关的问题。例如,为B2B电子商务(一个真实的EJB应用程序)的应用程序框架创建了分层排队模型。通过实例分析,说明了数据库访问延迟对数据源连接池大小调优的影响。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Performance engineering of a Java-based e-commerce system
The development of enterprise Web applications has evolved from writing servlets using JDBC calls for database access to a component-based paradigm where database access is replaced by calling enterprise JavaBeans (EJB), a Java representation of business objects. Using this component-based paradigm, business logics are encapsulated in coarse-grain session beans, leaving servlets the role of a request dispatcher which converts HTTP requests for servlets into RMI/IIOP requests for session beans and invokes JSP for result presentation. The performance of such a multitier enterprise Web application is dominated by the performance of the EJB. We investigate a model-based approach for performance engineering of multitier enterprise Java applications. A layer queueing model comprising the layers of client applications, session beans, entity beans, and data sources is proposed. By taking into account network latency and RMI overhead, the model can be used to predict the delay-throughput performance of the system and to study issues related to deployment topology. As an example, a layered queueing model is created for an application framework for B2B e-commerce, a real world EJB application. A case study is presented to show the effect of database access delay to the tuning of the connection pool size of data sources.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信