admin管理员组文章数量:1565292
2024年5月24日发(作者:)
外文文献资料
收集: 应用技术学院 计算机科学与技术
(外文文件名:
JSP Splitting for Improving Execution
Performance)
Abstract
Splitting a JSP (Java Server Pages) page into fragments can improve the
execution performance of JSP pages when the Web application server can separately
cache the Web page fragments obtained by executing the JSP fragments. If a JSP
page is split into fragments according to the update frequency of each portion of the
Web page obtained by executing the JSP page, all of the split JSP fragments do not
need to be executed again when only a single cached part of a Web page expires. In
addition, the fragments of a JSP page can be reused by other JSP pages. In both
cases, the execution results of all of the JSP fragments split from the JSP page must
be the same as from the JSP page before it was split. In this paper, we propose JSP
splitting, which is a method of splitting a JSP page into fragments maintaining the
data and control dependences existing in the original JSP page. JSP splitting
automatically detects the portions needed to maintain the data and control
dependences of a JSP page for the portions that developers want to split from the
JSP page. We implemented JSP splitting with a GUI tool, and confirmed that the
split JSP fragments were executed in the same as the way as the JSP page before the
split. Experimental results show that the response time to access a Web page can be
reduced by splitting a JSP page into fragments and setting different caching periods
for the Web page fragments obtained by executing the JSP fragments.
1. Introduction
Splitting a JSP (Java Server Pages) page into fragments can improve the
execution performance of some JSP pages when the Web application server can
separately cache the Web page fragments obtained by executing the fragments of
the JSP page. The period of caching dynamic Web pages generated by a JSP engine
is limited due to the dynamic nature of the content. When the cached content of a
Web page generated by a JSP engine is updated, the entire JSP page must be
executed again on the application server, even though the change of the Web page
might be small. Since frequent updates of cached Web pages increase the load on an
application server, it is reasonable to split a JSP page into fragments and set
different caching periods for the Web page fragments obtained by executing the JSP
fragments. Of course, the Web page fragments must be merged into a final Web
page correctly. The Dynacache technology of IBM WebSphere Application Server
allows Web page fragments to have different caching periods. Cache tag libraries
provided by the Apache Jakarta Project also support different caching periods for
the JSP fragments. In addition, ESI (Edge Side Includes) technology provides a
mechanism to cache Web page fragments with different caching periods, and to
merge them into a final Web page on an edge server.
The application offload technology of IBM WebSphere Edge Server is another
approach to improve the execution performance of JSP pages. This technology
allows one or more JSP fragments to be cached and executed on edge servers. The
remaining JSP fragments are deployed on the application server and are called by
the JSP fragments executed on the edge server. Thus, some of the execution of a JSP
page is offloaded to the edge server.
Splitting a JSP page facilitates the reuse of JSP fragments. When a Web
application consists of many JSP pages, the same portions tend to exist in many JSP
pages. Examples are the frames, the banners, the headers, and etc.
When a JSP page is split into fragments, the total execution result of all of the
fragments must be the same as the JSP page before it was split. In addition, when
the fragments of a JSP page are executed in different servers, each fragment needs
to be executed without the other fragments. In order to satisfy these conditions, we
propose JSP splitting, which is the method of splitting a JSP page into fragments
described in this paper. Since it is very difficult to automatically find the best way to
split a JSP page into fragments for some particular purpose, we assume that the
developers will select the portions that they want to split into fragments. In order to
execute all of the divided JSP pages correctly, JSP splitting automatically detects
版权声明:本文标题:个人博客网站设计外文文献及翻译及感应式ID卡办公门禁考勤一卡通管理 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1716515508a506707.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论