freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

個(gè)人博客網(wǎng)站設(shè)計(jì)外文翻譯-其他專業(yè)(留存版)

  

【正文】 斷跟新 被切 成 若干 片段 ,所有 切分的 JSP 片段不需要被再次執(zhí)行 ,只有當(dāng) 需要調(diào)用的網(wǎng)頁(yè)片段在緩存中過(guò)期了 。當(dāng)然,網(wǎng)頁(yè)片 段必須被正確的合并為一個(gè)最終的網(wǎng)頁(yè)。 JSP 切分 類似于 程序切片 技術(shù), 它是基于數(shù)據(jù)和控制依賴切一個(gè)程序的 。然后 主JSP 頁(yè)面合并它自己的網(wǎng)頁(yè)片段和從 JSP 片 段中接收的網(wǎng)頁(yè)片段,并且創(chuàng)建了一個(gè)最終的網(wǎng)頁(yè)。一個(gè)程序 片 包含 了 檢測(cè)的一組程序申明和申明 S。被檢測(cè)的部分要被分類到 轉(zhuǎn)移 和復(fù)制的部分,并且為了滿足開發(fā)者的意圖 要被最小化 。 在 被 Apache Jasper編譯器編譯的 servlet程序中 ,對(duì)于表 1里顯示的變量的數(shù)據(jù)依賴能和變量 out相同的原因被忽略。為了緩和這個(gè)限制。然而, 在頁(yè)面范圍內(nèi)為 Java bean設(shè)置一個(gè)屬性值的 每一 操作隨著一個(gè)或多個(gè)檢索相同屬性值的操作 能夠被復(fù)制 ,因?yàn)樵陧?yè)面范圍內(nèi)為 Java bean設(shè)置屬性值的操作沒(méi)有副作用。為了對(duì)比,我們把動(dòng)態(tài)形成的網(wǎng)頁(yè)碎片分離為一個(gè) JSP碎片,并且不存儲(chǔ)在從 JSP碎片中形成的網(wǎng)頁(yè),因?yàn)樾纬傻木W(wǎng)頁(yè)包含從碎片F(xiàn)2中獨(dú)立的信息,然而, 其他的文字片段要緩存 30秒。在將來(lái),我們將要介紹一種方法,通過(guò)與開發(fā)者的互動(dòng),彌補(bǔ)這種信息的缺乏。每一次請(qǐng)求被發(fā)送到到局部 頁(yè)面應(yīng)用服務(wù)器,在它為先前的請(qǐng)求接收響應(yīng)后。開發(fā)者 通過(guò)或者使用 editor 或者使用outline 選擇他們想要切分的那部分 。換句話說(shuō), 一個(gè) Java bean對(duì)象在它的范圍內(nèi)不超過(guò)一次被實(shí)例化,即使申明被復(fù)制到 JSP片段中。例如, 如果 在圖 1中顯示的 S10和 S11被 切 分成一個(gè) JSP片段,并且這個(gè) JSP片段在 S11之前被包含了,一個(gè)錯(cuò)誤的網(wǎng)頁(yè)就會(huì)產(chǎn)生。變量 out用于寫一些網(wǎng)頁(yè)的文本數(shù)據(jù)。 圖 1 顯示 了 JSP 頁(yè)面例子的一部分和 從 JSP 頁(yè)面中編譯的 servlet 程序 的例子。在這種情況下,邊緣服務(wù)器會(huì)檢查是否是由 ESI 指定的網(wǎng)頁(yè)片段:包括存在于它的緩存 中的標(biāo)簽 。 JSP 切分 通過(guò)利用 JSP特征避免了 JSP 引擎的分析。 IBM的 WebSphere 邊緣服務(wù)器 的應(yīng)用卸載技術(shù)是改善 JSP頁(yè)面執(zhí)行性能的另一種方法。 Figure 7 shows the architecture of the JSP splitting tool. The JSP splitting editor presents the source view and the outline view of a JSP page. Developers select the portions that they want to split using either the editor or the outline. After the portions are selected by developers, the moved and copied portions are displayed in a dialog with the selected portions. All of the portions are put into a new JSP page specified by developers, and the moved portions are replaced with the jsp:include tag in the original JSP page. When the editor is invoked with a JSP page, the data and control dependences existing in the JSP page are analyzed. First, the JSP piler, which is based on the Apache Jasper piler, piles a JSP page into a servlet program. The JSP piler partitions the JSP page into the parts that are categorized as shown in Table 2, and generates one or more Java statements for each part. At this time, the mapping table between each part of the JSP page and one or more statements of the servlet program is generated. The JSPServlet mapper converts the original groups, each of which contains dependent statements of a servlet program, into new groups, each of which contains the dependent JSP parts, by using the mapping table between the parts of a JSP page and the statements of the servlet program. This mapping table was generated earlier during the JSP pilation stage. The generated JSP groups are passed to the JSP splitter. 5. Experiment We measured the execution performance of JSP pages split by using our tool. The JSP page was executed on WebSphere Application Server, with the Dynacache mechanism enabled. For parison, we split all of the portions that dynamically output Web page fragments into just one JSP fragment, and did not cache the Web page generated from the JSP fragment, because the generated Web page included the private information from the fragment. However, the other text fragments were cached for 30 seconds. We call this kind of division the coarsegrain splitting. In addition, we measured the execution performance when the Web page was not cached. For these measurements, we used a client program that continues to send requests for the JSP page for 5 minutes and counts the number of the received responses. Each request is sent to the local Web application server after it has received the response for the previous request. 6. RelatedWork As mentioned in Section 2, the program slicing technique is similar to our method. However, the program slicing technique does not assume that each sliced program is executed as an independent program though the total execution result of the sliced programs has to be the same as the program before it was sliced. Therefore, the program slicing technique cannot be applied to the splitting of JSP pages. The Extract Method is a software refactoring technique that converts several program statements into a newmethod. This technique increases the chances that other methods can use the extracted methods. The statements converted into a method are selected by developers. This technique is similar to our method. After the statements are selected, the parameters that must be passed to the new method, and the return value of the new method are determined. 7. Conclusion In this paper, we proposed JSP splitting as a method of splitting a JSP page into fragments in order to improve the execution performance and the reusability of the JSP pages. In the future, we are going to introduce a method that pensates for this lack of information by interacting with developers. 中文翻譯稿 翻譯: 應(yīng)用技術(shù)學(xué)院 06計(jì)算機(jī)科學(xué)與技術(shù) ( 0616403057) 傅曉燕 2021年 2月 (中文名: 改進(jìn)執(zhí)行性能的 JSP 切分 ) 摘要 當(dāng)網(wǎng)頁(yè)應(yīng)用服務(wù)器能分別存儲(chǔ)通過(guò)執(zhí)行 JSP 片段 獲得 的網(wǎng)頁(yè)頁(yè)面片段時(shí) , 把一個(gè)JSP(Java 服務(wù)器頁(yè)面 )頁(yè)面 切分 成若干個(gè)片段能改進(jìn) JSP 頁(yè)面的執(zhí)行性能。 IBM 的 WebSphere 應(yīng)用服務(wù)器的動(dòng)態(tài)緩存技術(shù)允許網(wǎng)頁(yè)片段有不同的存儲(chǔ)方法。然而,程序的切片技術(shù)沒(méi)有考慮到 被 切的程序 能 被獨(dú)立的執(zhí)行,以及切的程序的總的執(zhí)行結(jié)果必須和沒(méi)有 分離 以前是一致的。 JSP 片段不是總是在同一服務(wù)器和同一時(shí)間執(zhí)行的。當(dāng)調(diào)試和維護(hù)大的程序時(shí),這個(gè)技術(shù)是有用的。 不容 忽略 的 數(shù)據(jù)依賴 基本上, JSP 切分 不允許依賴 的 申明被分別的 切分 。由于這些變量的值被定義在每個(gè) servlet程序的最高端并且 被 頻繁的提到,如果數(shù)據(jù)依賴能夠被保持,那么大多數(shù)申明不能被 切分 。 JSP切分 允許 Java beans的申明復(fù)制到 JSP片段中。 切分 工具 我們作為 Eclipse 的一個(gè)插件來(lái)實(shí)現(xiàn) JSP 切分 的 。我們稱這種分離為 coarsegrain分離 。 。對(duì)于這些測(cè)試,我們使用了一個(gè)客戶程序,它會(huì)繼續(xù)對(duì) JSP頁(yè)面發(fā)送請(qǐng)求 5分鐘,并且記錄接收相應(yīng)的數(shù)目。 JSP切分 編輯介紹了 JSP 頁(yè)面的 源視圖 和大綱 視圖 。 當(dāng) Java bean對(duì)象 在它的范圍內(nèi)還沒(méi)有被實(shí)例化每一個(gè)申明僅僅實(shí)例化了一 個(gè) Java bean對(duì)象 。 忽略 在表 1里顯示的變量 的 數(shù)據(jù)依賴可能會(huì)產(chǎn)生申明的一個(gè)錯(cuò)誤的執(zhí)行順序。 這里,我們考慮在圖 1( b)里顯示的變量 out是怎樣使用的。然而,程序 切片 技術(shù)不足以 切分 一個(gè) JSP 頁(yè)面為片段,因?yàn)檫@個(gè)技術(shù)沒(méi)有考慮到程序 切片 被獨(dú)立的執(zhí)行。當(dāng) ESI 機(jī)制被使用, ESI:包括標(biāo)簽被放入通過(guò)執(zhí)行一個(gè) 主 JSP 頁(yè)面獲得的網(wǎng)頁(yè)片段和在邊緣服務(wù)器上解釋來(lái)支持 ESI 機(jī)制。這是不切實(shí)際的,因?yàn)?JSP 引擎的源程序是非常大而且復(fù)雜的。另外 , ESI(Edge Side Includes)技術(shù)為使用不同的存儲(chǔ)方法存儲(chǔ)網(wǎng)頁(yè)片段提供了 一個(gè)機(jī)制,并且在一個(gè)邊緣服務(wù)器上把他們合并成一個(gè)最終的網(wǎng)頁(yè)。外文文獻(xiàn)資料 收集: 應(yīng)用技術(shù)學(xué)院 06計(jì)算機(jī)科學(xué)與技術(shù) ( 0616403057) 傅曉燕 (外文文件名: JSP Splitting for Improving Execution Performance) Abstract Splitting a JSP (Java Server Pages) page into fragments can improve the execution
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1