




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、2021屆外 文 資 料 翻 譯題 目:基于JSP的辦公自動化系統(tǒng)的設(shè)計與實現(xiàn)學(xué)生學(xué)號:10102040207學(xué)生姓名:吳凱春指導(dǎo)教師:李智敏二級院系:信息與計算機學(xué)院專業(yè)班級:計算科學(xué)與技術(shù)102班完成時間:2021年12月21日文獻來源:JSP/Servlet-Based Web Application GeneratorJ. 18th Conference Proceedings Japan Society for Software Science and Technology Japan.2001JSPServlet的Web應(yīng)用程序生成器鐵屋 鈴木,竹広 德田東京工業(yè)大學(xué)計算機科學(xué)系摘
2、 要Web轉(zhuǎn)換圖已經(jīng)提出的Web應(yīng)用程序的整體行為的根底基于CGI的建筑。Web應(yīng)用程序的發(fā)電機稱為t-web系統(tǒng)已經(jīng)實現(xiàn)自動生成基于CGI的Web應(yīng)用程序從圖。在本文中,我們擴展了概念圖來表示網(wǎng)絡(luò)過渡的JSPServlet Web應(yīng)用程序,設(shè)計與實現(xiàn)一個Web應(yīng)用程序生成器JSPServlet的Web應(yīng)用程序。1.引言目前,對交易數(shù)據(jù)的Web應(yīng)用程序中使用無限增加。許多強大的技術(shù)如JSPJavaServer Pages和Java servletsare開發(fā)支持的Web應(yīng)用系統(tǒng)的建設(shè),難度大的問題已成為Web應(yīng)用程序開發(fā)的程序員和無經(jīng)驗的工程師。Web轉(zhuǎn)換圖和Web應(yīng)用的發(fā)電機稱為t-web系
3、統(tǒng)已經(jīng)提出了減少這種困難 1,2,3 。然而,定義和Web過渡圖的符號和t-web系統(tǒng)設(shè)計仍限于基于CGI體系結(jié)構(gòu)的Web應(yīng)用程序。在本文中,我們重新定義和擴展的定義和符號網(wǎng)絡(luò)轉(zhuǎn)換圖和實施t-web支撐系統(tǒng)的平安性和會話管理水平為JSPServlet的Web應(yīng)用程序。Web轉(zhuǎn)換圖可以表示基于CGI、JSPServlet架構(gòu)架構(gòu)的Web應(yīng)用程序。t-web系統(tǒng)可以由非程序員或UNEX豐富的工程師用于生成JSPServlet的Web應(yīng)用程序沒有程序設(shè)計。2. 網(wǎng)頁轉(zhuǎn)換圖2.1 定義Web過渡圖的圖來描述基于CGI、JSPServlet架構(gòu)架構(gòu)的Web應(yīng)用程序的整體行為。我們把節(jié)點和網(wǎng)絡(luò)轉(zhuǎn)換圖的鏈接
4、到兩個類的符號。核心類包含所有根本組件,總是在Web應(yīng)用程序所必需的。擴展類包含在Web應(yīng)用程序的必要組成局部。一些組件是專門定義的Web應(yīng)用基于JSPServlet架構(gòu)。2.2網(wǎng)頁轉(zhuǎn)換圖組成一般來說,CGI的Web轉(zhuǎn)換圖為根底的Web應(yīng)用程序和簡單的JSPServlet的Web應(yīng)用程序可以由只使用COM組件中的核心類。然而,在JSPServlet架構(gòu)定義網(wǎng)頁節(jié)點的一些元素有時更強大,可以簡化網(wǎng)絡(luò)轉(zhuǎn)換圖。3. t-web系統(tǒng)3.1系統(tǒng)結(jié)構(gòu)對JSPServlet的Web應(yīng)用程序由兩局部組成t-web系統(tǒng):網(wǎng)絡(luò)轉(zhuǎn)換圖編輯器和一個Web應(yīng)用生成器。3.1.1 Web轉(zhuǎn)換圖編輯器編輯需要預(yù)先定義的模板
5、處理程序servlet和豆作為輸入。模板和其他文件指定存儲在文件系統(tǒng)中的模板的細節(jié),重新閱讀每次系統(tǒng)啟動。因此,可用的servlet模板和bean模板可以改變或刪除,以及新的模板可以很容易地添加到系統(tǒng)。模板描述模板名稱,模板參數(shù),默認參數(shù)值和過程的解釋是閱讀并在屬性框指導(dǎo)設(shè)計人員選擇最適宜的模板,每個處理節(jié)點的節(jié)點或豆。設(shè)計師組成一個Web轉(zhuǎn)換圖通過創(chuàng)立節(jié)點,指定他們的細節(jié)和與其它節(jié)點之間的關(guān)系,選擇最適宜的模板,并指定模板參數(shù)為每個處理節(jié)點的節(jié)點和豆。所有這些都可以在節(jié)點的屬性框了。鏈接將自動出現(xiàn)在設(shè)計師指定的任何節(jié)點對之間的關(guān)系。設(shè)計師最后指定全局參數(shù)中的全局參數(shù)屬性框包含系統(tǒng)信息。一個完
6、整的Web轉(zhuǎn)換圖和全局參數(shù)的編輯輸出。3.1.2 Web應(yīng)用生成器該發(fā)電機需要的網(wǎng)頁轉(zhuǎn)換圖和全局參數(shù)為輸入,為Web應(yīng)用程序生成的輸出的必要組成局部。網(wǎng)頁結(jié)構(gòu)和HTML元素和JSP元素足夠數(shù)量的模板,模板提供了用于生成的網(wǎng)頁。一個數(shù)據(jù)庫表創(chuàng)立程序模板,一個會話對象和一些商業(yè)豆也預(yù)先定義的。這些模板被嵌入在發(fā)電機并沒有改變。發(fā)電機產(chǎn)生產(chǎn)生的文件從一個Web轉(zhuǎn)換圖的Web應(yīng)用,全局參數(shù)和預(yù)先定義的模板,使用相同的方法,在 2,3 。基于JSPServlet架構(gòu)包含的網(wǎng)頁文件,t-web圖書館的Web應(yīng)用,并編制加工程序代碼servlet文件,用戶定義的bean文件,數(shù)據(jù)庫表創(chuàng)立程序文件,一個會話對
7、象文件和企業(yè)Bean的文件。3.2模板方法大量的模板并不總是帶來模板法到最高的靈活性和通用性。一旦我們提供足夠數(shù)量的模板,這種方法的靈活性很大程度上取決于模板本身的靈活性,即一個模板必須正常工作的模板參數(shù)可以是空白值,單值的各種狀態(tài),多值或無價值的。在t-web servlet模板和模板系統(tǒng)提供足夠數(shù)量的豆。大多數(shù)servlet模板模板集中使用4個數(shù)據(jù)庫查詢命令數(shù)據(jù)的事務(wù)插入,刪除,更新和選擇如一個servlet以插入新的記錄,一個servlet刪除/更新現(xiàn)有記錄,servlet來選擇和顯示條件匹配的記錄。其他模板集中于其它必要的業(yè)務(wù)流程,如Servlet發(fā)送電子郵件。五豆模板是在t-web系
8、統(tǒng)提供。他們是一個bean獲取當(dāng)前日期,豆含有一個全球的信息,一個bean計算訪問計數(shù)器,豆計算小計值從一個會話對象和豆計算小計值從數(shù)據(jù)庫的信息。4.結(jié)論和未來的工作我們擴展了Web轉(zhuǎn)換圖的想法代表基于JSPServlet架構(gòu)的Web應(yīng)用程序的整體行為,并設(shè)計和實現(xiàn)t-web系統(tǒng)作為一種工具,Web轉(zhuǎn)換圖的組成和JSPServlet的Web應(yīng)用程序的生成。原子事務(wù)組成的兩個或更多的動作處理的將是我們今后的工作。JSP/Servlet-Based Web Application GeneratorTetsuya Suzuki, Takehiro TokudaDept. of Computer S
9、cienceTokyo Institute of Technologyfkonkamol,tetsuya,tokudagtt.cs.titech.ac.jpABSTRACTWeb transition diagrams have been proposed to represent overall behavior of Web applications based on CGI architecture. A Web application generator called T-Web system has been implemented to automatically generate
10、 CGI-based Web applications from the diagrams. In this paper, we extend the idea ofWeb transition diagrams to represent JSP/Servlet-basedWeb applications, design and implement a Web application generator for JSP/Servlet-based Web applications.1.IntroductionCurrently, the use of Web applications for
11、data transactions is immensely increasing. As many powerful technologies such as JSP (JavaServer Pages)and Java servletsare developed to sup-port Web application construction,the difficulty tosystematically develop Web applications becomesa big problem for nonprogrammers and unexperienced engineers.
12、Web transition diagrams and a Web application generator called T-Web system have been proposed to reduce this difficulty 1, 2, 3. However, the definitions and notation of Web tran-sition diagrams and the design of T-Web system are still limited to Web applications based on CGI architecture.In this p
13、aper, we redefine and extend definitions and notation of Web transition diagrams and implement T-Web system supporting standard level of security and session management for JSP/Servlet-based Web applications. Web transition diagrams can represent Web applications based on both CGI architecture and J
14、SP/Servlet architecture. T-Web system can be used by non-programmers or unex-perienced engineers to generate JSP/Servlet-based Web applications without procedural programming.2.Web transition diagrams2.1 DefinitionsWeb transition diagrams are diagrams that can describe overall behavior of general We
15、b applications based on CGI architecture or JSP/Servlet architecture.We classify the notation of nodes and links in Web transition diagrams into two classes.Core class contains all basic components that are always necessary in Web applications.Extended class contains components that are necessary in
16、 some Web applications. Some components are specifically defined forWeb applications based on JSP/Servlet architecture.2.2 Web transition diagram compositionGenerally, Web transition diagrams of CGI-based Web applications and simple JSP/Servlet-based Web applications can be composed using only com-
17、ponents in core class. However,some elements in Web page nodes defined for JSP/Servlet architecture are sometimes more powerful and can simplify Web transition diagrams.3. T-Web system3.1 System structureT-Web system for JSP/Servlet-based Web applications consists of two parts: a Web transition diag
18、ram editor and a Web application generator.3.1.1 Web transition diagram editorThe editor takes pre-defined templates of processing programs (servlets) and beans as its input.Templates and additional files specifying details of the templates stored in the file system are re-read everytime the system
19、starts. Consequently, available servlet templates and bean templates can be changed or removed, as well as new templates can be easily added to the system.Template description (template names, template parameters, default parameter values and process explanation) are read and presented in the proper
20、ty boxes guiding designers to select the most appropriate template for each processing node or bean node.Designers compose a Web transition diagram by creating nodes, specifying their details and relationships with other nodes, selecting the most appropriate template and specifying template paramete
21、rs for each processing node and bean node. All of these can be done in the property boxes of nodes.Links automatically appear when designers specify relationships of any pair of nodes. Designers finally specify global parameters containing system information in a global parameter property box.A comp
22、lete Web transition diagram and global parameters are output of the editor.3.1.2 Web application generatorThe generator takes a Web transition diagram and global parameters as input and generates necessary components for a Web application as output.A template for Web page structure and a sufficient
23、number of templates for HTML elements and JSP elements are provided for the generation of Web pages. Templates for a database table creator program, a session object and some business beans are also pre-defined. These templates are embedded in the generator and are not subject to change.The generato
24、r generates resulting files for the Web application from a Web transition diagram,global parameters and pre-defined templates using the same methods as in 2, 3. A Web application based on JSP/Servlet architecture consists of Web page files, T-Web libraries, and compiled codes of processing program (
25、servlet) files, user-defined bean files, a database table creator program file, a session object file and business bean files.3.2 Template methodA large number of templates does not always bring template method to the highest exibility and generality. Once we provide a sufficient number of templates
26、, the exibility of this method is heavily depending on the exibility of template themselves, namely that a template must work properly for various status of template parameters which can be blank value, single value, multiple values or no value.There is a sufficient number of servlet templates and bean templates provided in T-Web system. Most of servlet templates are templates concentrating on data transactions using 4 database query commands (INSERT, DELETE, UPDATE and SELECT) such as a servlet to insert a new record, a s
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024-2025學(xué)年高中歷史第一單元中國傳統(tǒng)文化主流思想的演變第4課明清之際活躍的儒家思想導(dǎo)學(xué)案新人教版必修3
- 2024-2025學(xué)年高中地理課時分層作業(yè)13交通運輸方式和布局含解析新人教版必修2
- 2024-2025學(xué)年高中語文第五單元散而不亂氣脈中貫第23課文與可畫筼筜谷偃竹記課后課時作業(yè)含解析新人教版選修中國古代詩歌散文欣賞
- 2024-2025學(xué)年高中生物課時分層作業(yè)15降低化學(xué)反應(yīng)活化能的酶含解析新人教版必修1
- 2024-2025學(xué)年高中生物第4章生態(tài)系統(tǒng)的穩(wěn)態(tài)第2節(jié)生態(tài)系統(tǒng)的穩(wěn)態(tài)第3課時生態(tài)系統(tǒng)中的信息傳遞生態(tài)系統(tǒng)穩(wěn)態(tài)的維持學(xué)案蘇教版必修3
- 2025年保溫活動房項目投資可行性研究分析報告
- 2025年液壓棉花打包機項目可行性研究報告
- 醫(yī)院改建可行性研究報告
- 中國瓶口分液器行業(yè)市場運行態(tài)勢與投資戰(zhàn)略咨詢報告
- 2019-2025年中國全地形車行業(yè)市場深度分析及發(fā)展前景預(yù)測報告
- 【小學(xué)生心理健康教育】開學(xué)第一課課件ppt
- 全隱框玻璃幕墻施工方案
- 十八項醫(yī)療核心制度詳解培訓(xùn)課件
- 五年級上冊信息技術(shù)教學(xué)計劃華科版
- 機器人傳感器PPT完整全套教學(xué)課件
- 初一語文下冊:閱讀理解知識點整理
- 營銷部安全生產(chǎn)責(zé)任制
- CSM工法雙輪銑水泥土攪拌墻專項施工方案
- 定點醫(yī)療機構(gòu)接入驗收申請表
- 小羊詩歌大全1479首(小羊喝水?dāng)U句)
- 2022-2023學(xué)年遼寧省鞍山市普通高中高一年級下冊學(xué)期第一次月考數(shù)學(xué)(A卷)試題【含答案】
評論
0/150
提交評論