10102040207-吳凱春-外文資料翻譯_第1頁(yè)
10102040207-吳凱春-外文資料翻譯_第2頁(yè)
10102040207-吳凱春-外文資料翻譯_第3頁(yè)
10102040207-吳凱春-外文資料翻譯_第4頁(yè)
10102040207-吳凱春-外文資料翻譯_第5頁(yè)
已閱讀5頁(yè),還剩4頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、2021屆外 文 資 料 翻 譯題 目:基于JSP的辦公自動(dòng)化系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)學(xué)生學(xué)號(hào):10102040207學(xué)生姓名:吳凱春指導(dǎo)教師:李智敏二級(jí)院系:信息與計(jì)算機(jī)學(xué)院專業(yè)班級(jí):計(jì)算科學(xué)與技術(shù)102班完成時(shí)間:2021年12月21日文獻(xiàn)來(lái)源:JSP/Servlet-Based Web Application GeneratorJ. 18th Conference Proceedings Japan Society for Software Science and Technology Japan.2001JSPServlet的Web應(yīng)用程序生成器鐵屋 鈴木,竹広 德田東京工業(yè)大學(xué)計(jì)算機(jī)科學(xué)系摘

2、 要Web轉(zhuǎn)換圖已經(jīng)提出的Web應(yīng)用程序的整體行為的根底基于CGI的建筑。Web應(yīng)用程序的發(fā)電機(jī)稱為t-web系統(tǒng)已經(jīng)實(shí)現(xiàn)自動(dòng)生成基于CGI的Web應(yīng)用程序從圖。在本文中,我們擴(kuò)展了概念圖來(lái)表示網(wǎng)絡(luò)過(guò)渡的JSPServlet Web應(yīng)用程序,設(shè)計(jì)與實(shí)現(xiàn)一個(gè)Web應(yīng)用程序生成器JSPServlet的Web應(yīng)用程序。1.引言目前,對(duì)交易數(shù)據(jù)的Web應(yīng)用程序中使用無(wú)限增加。許多強(qiáng)大的技術(shù)如JSPJavaServer Pages和Java servletsare開發(fā)支持的Web應(yīng)用系統(tǒng)的建設(shè),難度大的問(wèn)題已成為Web應(yīng)用程序開發(fā)的程序員和無(wú)經(jīng)驗(yàn)的工程師。Web轉(zhuǎn)換圖和Web應(yīng)用的發(fā)電機(jī)稱為t-web系

3、統(tǒng)已經(jīng)提出了減少這種困難 1,2,3 。然而,定義和Web過(guò)渡圖的符號(hào)和t-web系統(tǒng)設(shè)計(jì)仍限于基于CGI體系結(jié)構(gòu)的Web應(yīng)用程序。在本文中,我們重新定義和擴(kuò)展的定義和符號(hào)網(wǎng)絡(luò)轉(zhuǎn)換圖和實(shí)施t-web支撐系統(tǒng)的平安性和會(huì)話管理水平為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è)計(jì)。2. 網(wǎng)頁(yè)轉(zhuǎn)換圖2.1 定義Web過(guò)渡圖的圖來(lái)描述基于CGI、JSPServlet架構(gòu)架構(gòu)的Web應(yīng)用程序的整體行為。我們把節(jié)點(diǎn)和網(wǎng)絡(luò)轉(zhuǎn)換圖的鏈接

4、到兩個(gè)類的符號(hào)。核心類包含所有根本組件,總是在Web應(yīng)用程序所必需的。擴(kuò)展類包含在Web應(yīng)用程序的必要組成局部。一些組件是專門定義的Web應(yīng)用基于JSPServlet架構(gòu)。2.2網(wǎng)頁(yè)轉(zhuǎn)換圖組成一般來(lái)說(shuō),CGI的Web轉(zhuǎn)換圖為根底的Web應(yīng)用程序和簡(jiǎn)單的JSPServlet的Web應(yīng)用程序可以由只使用COM組件中的核心類。然而,在JSPServlet架構(gòu)定義網(wǎng)頁(yè)節(jié)點(diǎn)的一些元素有時(shí)更強(qiáng)大,可以簡(jiǎn)化網(wǎng)絡(luò)轉(zhuǎn)換圖。3. t-web系統(tǒng)3.1系統(tǒng)結(jié)構(gòu)對(duì)JSPServlet的Web應(yīng)用程序由兩局部組成t-web系統(tǒng):網(wǎng)絡(luò)轉(zhuǎn)換圖編輯器和一個(gè)Web應(yīng)用生成器。3.1.1 Web轉(zhuǎn)換圖編輯器編輯需要預(yù)先定義的模板

5、處理程序servlet和豆作為輸入。模板和其他文件指定存儲(chǔ)在文件系統(tǒng)中的模板的細(xì)節(jié),重新閱讀每次系統(tǒng)啟動(dòng)。因此,可用的servlet模板和bean模板可以改變或刪除,以及新的模板可以很容易地添加到系統(tǒng)。模板描述模板名稱,模板參數(shù),默認(rèn)參數(shù)值和過(guò)程的解釋是閱讀并在屬性框指導(dǎo)設(shè)計(jì)人員選擇最適宜的模板,每個(gè)處理節(jié)點(diǎn)的節(jié)點(diǎn)或豆。設(shè)計(jì)師組成一個(gè)Web轉(zhuǎn)換圖通過(guò)創(chuàng)立節(jié)點(diǎn),指定他們的細(xì)節(jié)和與其它節(jié)點(diǎn)之間的關(guān)系,選擇最適宜的模板,并指定模板參數(shù)為每個(gè)處理節(jié)點(diǎn)的節(jié)點(diǎn)和豆。所有這些都可以在節(jié)點(diǎn)的屬性框了。鏈接將自動(dòng)出現(xiàn)在設(shè)計(jì)師指定的任何節(jié)點(diǎn)對(duì)之間的關(guān)系。設(shè)計(jì)師最后指定全局參數(shù)中的全局參數(shù)屬性框包含系統(tǒng)信息。一個(gè)完

6、整的Web轉(zhuǎn)換圖和全局參數(shù)的編輯輸出。3.1.2 Web應(yīng)用生成器該發(fā)電機(jī)需要的網(wǎng)頁(yè)轉(zhuǎn)換圖和全局參數(shù)為輸入,為Web應(yīng)用程序生成的輸出的必要組成局部。網(wǎng)頁(yè)結(jié)構(gòu)和HTML元素和JSP元素足夠數(shù)量的模板,模板提供了用于生成的網(wǎng)頁(yè)。一個(gè)數(shù)據(jù)庫(kù)表創(chuàng)立程序模板,一個(gè)會(huì)話對(duì)象和一些商業(yè)豆也預(yù)先定義的。這些模板被嵌入在發(fā)電機(jī)并沒有改變。發(fā)電機(jī)產(chǎn)生產(chǎn)生的文件從一個(gè)Web轉(zhuǎn)換圖的Web應(yīng)用,全局參數(shù)和預(yù)先定義的模板,使用相同的方法,在 2,3 ?;贘SPServlet架構(gòu)包含的網(wǎng)頁(yè)文件,t-web圖書館的Web應(yīng)用,并編制加工程序代碼servlet文件,用戶定義的bean文件,數(shù)據(jù)庫(kù)表創(chuàng)立程序文件,一個(gè)會(huì)話對(duì)

7、象文件和企業(yè)Bean的文件。3.2模板方法大量的模板并不總是帶來(lái)模板法到最高的靈活性和通用性。一旦我們提供足夠數(shù)量的模板,這種方法的靈活性很大程度上取決于模板本身的靈活性,即一個(gè)模板必須正常工作的模板參數(shù)可以是空白值,單值的各種狀態(tài),多值或無(wú)價(jià)值的。在t-web servlet模板和模板系統(tǒng)提供足夠數(shù)量的豆。大多數(shù)servlet模板模板集中使用4個(gè)數(shù)據(jù)庫(kù)查詢命令數(shù)據(jù)的事務(wù)插入,刪除,更新和選擇如一個(gè)servlet以插入新的記錄,一個(gè)servlet刪除/更新現(xiàn)有記錄,servlet來(lái)選擇和顯示條件匹配的記錄。其他模板集中于其它必要的業(yè)務(wù)流程,如Servlet發(fā)送電子郵件。五豆模板是在t-web系

8、統(tǒng)提供。他們是一個(gè)bean獲取當(dāng)前日期,豆含有一個(gè)全球的信息,一個(gè)bean計(jì)算訪問(wèn)計(jì)數(shù)器,豆計(jì)算小計(jì)值從一個(gè)會(huì)話對(duì)象和豆計(jì)算小計(jì)值從數(shù)據(jù)庫(kù)的信息。4.結(jié)論和未來(lái)的工作我們擴(kuò)展了Web轉(zhuǎn)換圖的想法代表基于JSPServlet架構(gòu)的Web應(yīng)用程序的整體行為,并設(shè)計(jì)和實(shí)現(xiàn)t-web系統(tǒng)作為一種工具,Web轉(zhuǎn)換圖的組成和JSPServlet的Web應(yīng)用程序的生成。原子事務(wù)組成的兩個(gè)或更多的動(dòng)作處理的將是我們今后的工作。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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論