【正文】
其他的操作系統(tǒng),請根據(jù)實際情況進行適當(dāng)?shù)恼{(diào)整。在這種情況下, Java虛擬機使用 GWT內(nèi)置的瀏覽器運行 GWT應(yīng)用編譯后的 class內(nèi)容,因此能夠 達(dá)到 “ 編碼、測試、調(diào)試 ” 過 程的最佳速度。這是因為 GWT最大限度的將這些控件翻譯成瀏覽器內(nèi)置的類型。GWT框架本身是開源的,但是 GWT中的開發(fā)工具僅僅提供開發(fā)用 License,不允許分發(fā)。 W i d g e t sA n dP a n e lI 1 8 NX M LP a r s e rH i s t o r yM g m tJ U i tI n t e g r a t i o nJ S N IJ R E E m u l a t i o nJ a v a t o J s C o m p i l e rR P CG W T 圖 GWT開發(fā)組件 北京航 空航天大學(xué)畢業(yè)設(shè)計 (論文 ) 第 9 頁 9 2. 2. 2 為什么要選擇 GWT 眾所周知 ,即使對于 Ajax技術(shù)非常熟悉的開發(fā)者而言, Ajax應(yīng)用的開發(fā)和調(diào)試過程也不是一件容易的事情,更困難的 是 , 到目前為止, 還 沒有出現(xiàn) 一種 合適的開發(fā)工具能夠支持 Ajax的 開發(fā)和調(diào)試。 GWT與 其他開發(fā)框架的不同就在于編程人員在客戶 端所編寫的是 Java代碼 , 而并非JavaScript代碼。 其實 該問題的解決方案也已出現(xiàn),大部分都使用 URL片斷標(biāo)識符(通常被稱為錨點,即 URL中 后面的部分)來保持跟蹤,允許用戶 回到指定的某個應(yīng)用程序狀態(tài)。隨著 Ajax的成熟,一些簡化 Ajax使用方法的程序庫也相繼問世。 將傳統(tǒng)的 Web同步交互方式與 Ajax異步交互方式進行如下比較,如圖 : 用 用用 用 用 用用 用 用 用 用 用 用 用用用用用用用用用用用用用用 用 用 用用 用 用用用用用用用用用 用 用用用用用用 用 用 用 用 用用 用 用 用 A j a x 用 用 用 用 用 用 用用用用用用用用用用用用用用用用用用用用用用 用 用用用用用用用用用用用用用用用用用用用用用用用用用用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 用 圖 傳統(tǒng) Web的同步交互過程 (上 )和 Ajax的異步交互過程的比較 (下 ). 通常要產(chǎn)生一個 HTTP請求的用戶動作現(xiàn)在通過 JavaScript調(diào)用 Ajax引擎來代替 。 對于傳統(tǒng)的 Web應(yīng)用 模型和 Ajax應(yīng)用 模型進行如下比較,如圖 。 Ajax技術(shù)在 1998年前后得到了應(yīng)用。 即使這樣也 并不妨礙人們對它的趨之若鶩。 第二 章: 本章 本系統(tǒng)主要采用的幾項技術(shù),如 Ajax技術(shù)、 GWT技術(shù)、 EXT技術(shù) 、RPC技術(shù) 以及 JSON技術(shù) 等 。初步形成國家科技基礎(chǔ)條件資源管理信息和決策支持系統(tǒng),為國家科技基礎(chǔ)條件平臺建設(shè)、國家科技計劃和重大科技專項的實施,乃至科技條件建設(shè)投入提供決策參考 。其 目的是為了解和掌握我國科技資源分布狀況及利用情況,建成相應(yīng)科技資源數(shù)據(jù)庫,建立科技資源數(shù)據(jù)動態(tài)更新機制。為了實現(xiàn)系統(tǒng)的功能以及解決用戶 在填報過程中遇到的數(shù)據(jù)類型的判斷和合法性驗證 等問題 , 并 提高 系統(tǒng) 的 界面友好性、易用性以及提高填報效率和數(shù)據(jù)表現(xiàn)手段 , 本系統(tǒng) 將 采用 B/S 結(jié)構(gòu),運用 異步傳輸能力很強的 Ajax 技術(shù), 并 以 GWT 作為系統(tǒng)整體框架, EXT技術(shù)作為 用戶 界面表現(xiàn), RPC、 JSON 作為 異步 數(shù)據(jù)傳輸方式來實現(xiàn)系統(tǒng)所有功能。 Ⅲ、畢業(yè)設(shè)計(論文)工作內(nèi)容: 深入閱讀與 Ajax 技術(shù)相關(guān)的書籍與論文,了解 Ajax 開發(fā)框架,并學(xué)習(xí)相關(guān)理論 知識 和技能技術(shù),按照需求建立系統(tǒng)結(jié)構(gòu),實現(xiàn) 中心管理員 、法人單位 所具有的 新聞 發(fā)布、新聞 瀏覽 、 資源信息填報,以及用戶信息管理和進度瀏覽模塊 。 關(guān)鍵詞: Ajax技術(shù) , GWT, EXT, RPC, 資源信息 填報 北京航空航天大學(xué)畢業(yè)設(shè)計 (論文 ) 第 II 頁 II The Design and Implementation of Resource Filling and Reporting System Author: WANG Rui Tutor: LIU Rui Abstract The full name of Resource Filling And Reporting System is “Information Management System of Resource Investigation of The National Science and Technology Infrastructure Platform”, which is the subsidiary system of “The National Science and Technology Infrastructure Platform”. There are several reasons to set up this system, such as, to acknowledge technological resource distribution and using nationwide, to set up a technological resource database, to set up a updating system for dynamic technological resource data, and to form an initial national basic technological resource management system, etc. Because of the diversity of data, and the plexity while judging the data’s type and validity, it is decided to adopt “Ajax”, which is good at asynchronous munication, to improve the security and convenience of resource filling. In order to fulfill the need of “Information Management System of Resource Investigation of The National Science and Technology Infrastructure Platform”, the system uses “GWT” as the frame of the system, and “EXT” as performance of interface. And it also adopts B/S for structure, RPC and JSON for transmission. Function: resource filling and searching, news press, news exhibiting, customer . Key words: Ajax, GWT, EXT, RPC, Resource Filling and Reporting 北京航空航天大學(xué)畢業(yè)設(shè)計 (論文 ) 第 III 頁 III 目錄 1 緒論 ........................................................................................................................................ 1 1. 1 課題背景及來源 ....................................................................................................... 1 1. 2 資源填報系統(tǒng)簡介 ................................................................................................... 1 1. 2. 1 資源填報系統(tǒng)的概念 .................................................................................. 1 1. 2. 2 資源填報系統(tǒng)的現(xiàn)狀 .................................................................................. 1 1. 2. 3 資源填報系統(tǒng)所解決的問題 ...................................................................... 2 1. 3 資源填報系統(tǒng)的內(nèi)容及目標(biāo) ................................................................................... 2 1. 4 本文的組織結(jié)構(gòu) ....................................................................................................... 2 3 相關(guān)技術(shù)簡介 ........................................................................................................................ 4 3. 1 Ajax 技術(shù) .................................................................................................................. 4 3. 1. 1 Ajax 發(fā)展史 ................................................................................................. 4 3. 1. 2 Ajax 與傳統(tǒng)的 Web 應(yīng)用比較 .................................................................... 5 3. 1. 3 Ajax 的優(yōu)點和缺點 ..................................................................................... 7 3. 2 GWT( Google Web Toolkit) 簡介 ......................................................................... 8 3. 2. 1 什么是 GWT ................................................................................................... 8 3. 2. 2 為什么要選擇 GWT ....................................................................................... 9 3. 2. 3 GWT 的特性 ................................................................................................... 9 3. 3 EXT 簡介 .................................................................................................................. 11 3. 4 RPC( Remote Procedure Calls) 簡介 .............................................................