【正文】
西安交通大學(xué)城市學(xué)院大學(xué)本科畢業(yè)論文 I 摘 要 基于計(jì)算機(jī)和網(wǎng)絡(luò)的教學(xué)管理,可有效監(jiān)控教學(xué)質(zhì)量,提高教學(xué)管理水平,相關(guān)系統(tǒng)的開發(fā)設(shè)計(jì)已引起關(guān)注,本課題就是基于 J2EE 技術(shù),開發(fā)設(shè)計(jì)的教學(xué)評(píng)估系統(tǒng)。 首先,從教學(xué)評(píng)估系統(tǒng)的需求入手,確定了系統(tǒng)的模塊結(jié)構(gòu),設(shè)計(jì)了教學(xué)評(píng)估系統(tǒng)的指標(biāo)體系。我們使用 UML 技術(shù)設(shè)計(jì)了系統(tǒng)靜態(tài)和動(dòng)態(tài)的設(shè)計(jì)模型,使用用例圖描述了系統(tǒng)的功能和操作者;使用類圖描述了系統(tǒng)的靜態(tài)結(jié)構(gòu),分別設(shè)計(jì)了系統(tǒng)中實(shí)體BEAN,控制 BEAN,基礎(chǔ) BEAN 并在實(shí)現(xiàn)部分給出了典型的實(shí)現(xiàn)細(xì)節(jié);時(shí)序圖用來顯示對(duì)象之間的關(guān)系,強(qiáng)調(diào)對(duì)象之間的消息的時(shí)間順序, 同時(shí)顯示對(duì)象之間的交互,文中分析了較復(fù)雜的學(xué)員投票功能的時(shí)序圖。根據(jù)數(shù)據(jù)庫的規(guī)范化設(shè)計(jì)理論設(shè)計(jì)了系統(tǒng)的數(shù)據(jù)庫結(jié)構(gòu),在設(shè)計(jì)中通過適當(dāng)?shù)脑黾尤哂啻蟠筇岣吡讼到y(tǒng)的查詢速度,論文給出了數(shù)據(jù)庫關(guān)系圖 [1]。 其次,介紹了系統(tǒng)的實(shí)現(xiàn),分析了幾個(gè)典型的業(yè)務(wù)邏輯封裝的實(shí)現(xiàn)細(xì)節(jié)、幾個(gè)典型的交互界面的實(shí)現(xiàn)細(xì)節(jié)和實(shí)際界面展示,以及應(yīng)用系統(tǒng)在 Tomcat 上的部署。 系統(tǒng)實(shí)現(xiàn)已達(dá)預(yù)期目標(biāo),滿足了教學(xué)評(píng)估的基本要求,系統(tǒng)具有友好的交互界面,對(duì)學(xué)院教學(xué)質(zhì)量和管理水平的提高起來積極的作用。 關(guān)鍵詞 : Struts Hibernate Spring UML 西安交通大學(xué)城市學(xué)院大學(xué)本科畢業(yè)論文 II Abstract Based on the teaching management of puter and work, We can effectively control the quality of teaching and improve teaching management. Developing and designing of correlative system has attracted people’s attention. This subject is based on J2EE technology, It Designs the Educational Evaluation System. First, Start on the demand analysis of the Education Evaluation System, We design the system’s module structure. We designe a static and dynamic design model using UML, It describes the system’s functions and operators using use case diagram, and describes the static structure using class diagram, We design the Entity JavaBean, Control JavaBean, based JavaBean, and give the typical details of class’s implementation. Sequence Diagrams are used to describe the relationship between objects. It emphasizes the message’s time sequence between objects, It also shows the interaction between objects, This paper analyzes the ples sequence Diagrams of student votion. We design the database structure using normalization of Relation Database, Query speed is greatly enhanced by means of appropriate increasing redundancy in the design, This paper also gives the database diagram of the system[11]. Secondly, The paper introduces the system implementation, and analysis the several typical implementation details of business logic Package, Several typical interface implementation details. It shows the actual interface, and introduces the deplovment of application system in Tomcat. The system has been pleted, Actual using shows that it achieves the desired goal, and meets the basic requirements of the educational improving the teaching quality and management level. KEY WORD: Struts Hibernate Spring UML 西安交通大學(xué)城市學(xué)院大學(xué)本科畢業(yè)論文 III 目 錄 1. 緒論 .............................................................. 1 . 課題研究背景 ..................................................... 1 . 相關(guān)技術(shù)研究動(dòng)態(tài) ................................................. 1 . 課題研究的目的和意義 ............................................. 2 . 研究內(nèi)容及章節(jié)安排 ............................................... 2 2. 系統(tǒng)相關(guān)技術(shù) ...................................................... 3 . 市場(chǎng)調(diào)查報(bào)告 ..................................................... 3 . 相關(guān)技術(shù)討論與比較 ............................................... 3 . 基于 J2EE 的 Struts 技術(shù) ....................................... 3 . 基于 J2EE 的 Hibernate 技術(shù) ................................... 4 . 基于 J2EE 的 Spring 技術(shù) ...................................... 4 . 關(guān)于三層框架的關(guān)系與在本系統(tǒng)中的應(yīng)用 ............................. 5 . UML 建模的使用 .................................................. 5 . 本方案軟件選擇與分析 ............................................. 5 3. 需求分析 .......................................................... 7 . 總體需求 ......................................................... 7 . 系統(tǒng)的業(yè)務(wù)處理流程 ............................................... 7 . 系統(tǒng)的功能模塊 ................................................... 7 . 系統(tǒng)用例模型 ..................................................... 9 . 類 模型 .......................................................... 11 . 動(dòng)態(tài)模型 ........................................................ 13 . 評(píng)估指標(biāo)設(shè)計(jì) .................................................... 13 4. 系統(tǒng)設(shè)計(jì) ......................................................... 15 . 平臺(tái)的選擇 ...................................................... 15 . 數(shù)據(jù)庫設(shè)計(jì) ...................................................... 15 . E- R 圖 ................................................... 15 . 邏輯結(jié)構(gòu)設(shè)計(jì) .............................................. 17 西安交通大學(xué)城市學(xué)院大學(xué)本科畢業(yè)論文 IV . 數(shù)據(jù)庫實(shí)現(xiàn) ...................................................... 17 . 創(chuàng)建表 .................................................... 17 . 具體表結(jié)構(gòu) ................................................ 18 . 前臺(tái)子系統(tǒng) ...................................................... 20 . 后臺(tái)管理子系統(tǒng) .................................................. 20 . 后臺(tái)評(píng)估子系統(tǒng) .................................................. 22 5. 系統(tǒng)的實(shí)現(xiàn) ....................................................... 23 . 平臺(tái)的搭建 ...................................................... 23 . 添加 Strust 支持 ............................................. 23 . 添加 Spring 支持 ............................................ 25 . 添加 Hibernate 支持 ......................................... 25 . 過濾器的添加 .................................................... 27 . 亂碼的處理 ...................................................... 27 . 防盜鏈處理 ...................................................... 27 . 加入 .............................................. 28 . 登錄模塊 的實(shí)現(xiàn) .................................................. 28 . 系統(tǒng)維護(hù)模塊的實(shí)現(xiàn) .............................................. 29 . Excel 表信息的導(dǎo)入 ......................................... 33 . 關(guān)于 POJO 中類與表的映射 ................................... 34 . 學(xué)生評(píng)估模塊的實(shí)現(xiàn) .............................................. 34 . 應(yīng)用程序的部署 .................................................. 37 . 系統(tǒng)的使用方法 ................................... 錯(cuò)誤 !未定義書簽。 6. 結(jié)論 ............................................................. 38 參考文獻(xiàn) ................................................................ 39 致 謝 ..............