【正文】
摘 要 21 世紀的發(fā)展已經很大程度的依賴于計算機網絡的發(fā)展,隨著計算機網絡的快速發(fā)展而帶來的一系列的基于網絡的事物的飛速增長 和 世界 信息化步伐的加快, 于是 越來越多的企事業(yè)單位 包括各類院校都需要一個自己的信息發(fā)布和資源共享的平臺 。 為了滿足這個需求,我們開發(fā)此工作室管理系統,用于軟件學院教學和師生日常交流。 系統基于 B/S 的開發(fā)模式,前臺使用 JSP技術開發(fā)實現,后臺使用 數據庫軟件管理,并采用 Hibernate 框架 進行數據庫連接。系統主要分為 信息展示、工作室日常管理、系統管理、互動交流四大 模塊。 本文介紹了在 Struts 下應用 MVC 分層思想:模型層、視圖層、控制層,在基于 JSP 頁面、 MySQL 數據庫及 Resin 服務器端的基礎上開發(fā)的 軟件學院工作室管理 系統 。系統地闡述該 管理 系統開發(fā)的分析及設計過程,包括數據流圖,功能分析設計,數據庫設計等 ;詳細描述了 本人負責 模塊 的實現過程, 并對本人在系統模塊中所使用關鍵技術的實現進行了全面的介紹 。 【關鍵字】 工作室管理系統 、 分層 思想 、 日常交流 【 Abstract】 The development of the 21st century has a large extent dependent on the development of puter the rapid development of puter work, a number of workbased things grow rapidly and the pace of world39。s informanization is accelerating,so there are more and more enterprise units including various institutions need its own information and resource sharing platform. To meet this demand, we have developed this system for regular conmunication between teachers and students of the college of software. The front of the system based on B/S pattern uses JSP to achieve while the background uses database software to manage, and Hibernate framework is used for database connection. The System consists four main modules of infomation publishing,regular management of the studio、 system management and conmunication between each other. This paper introduces MVC delamination thoughts under the Struts: model layer, view layer, control layer,and the Studio Management System Of College Of Software System Based On J2EE Technology using the technology of JSP ,MySQL database and Resin server,also it systematic describes the development of the Studio Management System and the process of design ,which includes the data flow diagram ,functional analysis and design ,and the database design and so detailedly describes the realization of the modules i am responsible for,and it has a prehensive introduction of the key technology used in the system. [Keywords] the studio management system, delamination thoughts, conmunication between each other 目 錄 第一章 緒論 ............................................. 1 引言 ....................................................... 1 文本的組織 ................................................. 1 本人做的主要工作 ........................................... 2 第二章 系統開發(fā)相關技術概述 .............................. 3 B/S 開發(fā)模式 ................................................ 3 JSP 技術概述 ................................................ 3 什么是 JSP技術 ............................................... 3 JSP技術的優(yōu)點 ............................................... 4 struts 技術 ................................................. 4 struts與 MVC ................................................. 4 struts的工作原理 ............................................ 5 數據庫連接池技 術 ........................................... 6 MySQL 簡介 .................................................. 7 Hibernate 簡介 .............................................. 7 Lucene 簡介 ................................................. 8 自定義標簽 簡介 ............................................. 9 自定義標簽的基本概念 ......................................... 9 自定義標簽的格式 ............................................ 10 第三章 系統的分析與設計 ................................. 11 系統的實現目標 ............................................ 11 系統分析 .................................................. 11 系統功能分析 ................................................ 11 系統流程分析 ................................................ 13 系統數據流分析 .............................................. 14 系統數據庫設計 ............................................ 14 系統 ER圖 .................................................. 14 數據庫表設計 ................................................ 15 第四章 模塊的實現 ....................................... 27 MVC 分層結構 ............................................... 27 信息展示模塊 .............................................. 30 日常管理模塊 .............................................. 34 系統管理模塊 .............................................. 40 互動交流模塊 .............................................. 43 系統模塊中關鍵技術的實現 .................................. 44 Struts框架的使用 (多模塊、多配置文件 ) ........................ 44 Hibernate的使用 ............................................ 45 Struts[Tiles]模板 ........................................... 46 Struts[Validator]驗證 ....................................... 47 Tags 自定義標簽 ............................................. 48 DisplayTag 標簽庫 ........................................... 50 JSTL標簽庫 ................................................. 51 AJAX異步獲取數據 ........................................... 52 FreeMarker 模板 ............................................. 53 Lucene全文索引 ............................................ 54 庖丁解牛中文分詞包 ......................................... 54 數據緩存技術 ............................................... 55 Proxool數據庫連接池技術 ................................... 55 分頁技術 ................................................... 56 網址重寫技術( Apache Mod Rewrite) ......................... 57 特殊 Filter 的使用 .......................................... 58 關于系統安全的技術 ......................................... 58 第五章 總結 ............................................ 60 系統總結 .................................................. 60 個人總結 .................................................. 60 下一步工作 ................................................ 61 參考文獻 ............................................... 62 致謝 ................................................... 63 第一章 緒論 引言 軟件學院工作室管理中心是以方便同學及導師為宗旨設計的,讓管理員、導師通過網絡,方便的了解工作室同學的狀況。對于即將進入工作室學習的同學,可以通過工作事管理中心,進行工作室學習方向的確定,這就避免了同學選擇方向時,因工作室已滿而不得不轉方向。對于 已經在工作室學習的同學,導師可以通過本簽到系統,方便的了解同學的出勤狀況,歷史缺到次數。簡單的新聞系統,使同學們能夠及時了解工作室最新動向。通過站內短信,同工作室,不同工作室之間都可以進行短信交流,也可以進行短信群發(fā)。工作室管理中心提供了一個討論區(qū),同學可以就最新的帖子進行評論,也可以和導師交流最新技術。個人日志功能免除了同學手寫日志的苦惱,日志直接提交至導師,導師也可以及時了解同學當天的學習進展。網站 鏈 接功能則是由導師或同學添加一些