【正文】
如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 1 畢業(yè)設(shè)計(jì) (論文 ) 題 目 基于 J2EE 的 網(wǎng)絡(luò)論壇 系統(tǒng) 系 別 信 息 工 程 系 專業(yè)名稱 計(jì) 算 機(jī) 科 學(xué) 與 技 術(shù) 班級(jí)學(xué)號(hào) 05806103 學(xué)生姓名 指導(dǎo)教師 二 OO 九年五月十三日 基于 J2EE 的網(wǎng)絡(luò)論壇系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 2 學(xué)生姓名: 班級(jí): 058061 指導(dǎo)老師: 摘要 : 21 世紀(jì),地球因互聯(lián)網(wǎng)的存在,早已變成一個(gè)村落。人們?cè)诨ヂ?lián)網(wǎng)的世界里盡情地遨游,享受著 Inter 帶來的無限樂趣。我們習(xí)慣了去網(wǎng)上看新聞、去論壇看帖、網(wǎng)上購物、撰寫自己的網(wǎng)絡(luò)日志等等。當(dāng)然,最離不開的,還是各種搜索引擎,幫我們找到想要的信息??傊?,互聯(lián)網(wǎng)已經(jīng)成為我們的一種生活方式,一個(gè)巨大的知識(shí)庫。 網(wǎng)上論壇系統(tǒng)是最常見的網(wǎng)絡(luò)形式 ,其主要功能是給網(wǎng)友一個(gè)交流的平臺(tái),大家暢所欲言,互相學(xué)習(xí)和幫助。本系統(tǒng)基于 MVC 設(shè)計(jì)模式,采用流行的JSP+JavaBean+Servlet 三層架構(gòu)。在設(shè)計(jì)過程中,將頁面 顯示與功能邏輯實(shí)現(xiàn)分離開來,提高了代碼的重用,有利于日后系統(tǒng)的維護(hù)和升級(jí)。 開發(fā)過程中使用到的開發(fā)工具有: web 服務(wù)器 tomcat,數(shù)據(jù)庫服務(wù)器 SQL Server 2020,集成開發(fā)工具 MyEclipse和 jdk。整個(gè)論壇系統(tǒng)分為前臺(tái)頁面和后臺(tái)數(shù)據(jù)庫兩個(gè)大的模塊。其中前臺(tái)模塊實(shí)現(xiàn)的基本功能主要有:用戶注冊(cè),用戶登陸,瀏覽帖子,回復(fù)帖子,發(fā)表新帖;后臺(tái)數(shù)據(jù)庫模塊實(shí)現(xiàn)的基本功能主要有:編輯用戶權(quán)限,編輯論壇版塊,刪除論壇版塊,刪除帖子。 關(guān)鍵詞: 論壇系統(tǒng) MVC 設(shè)計(jì)模式 JSP SQL Server Tomcat 指導(dǎo)老師簽字: The design and realization of the BBS system Based on J2EE 如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 3 Student name : Class : 058061 Supervisor : Abstract: In the 21th, the Earth bees a village, Because the presence of the Inter. People traveling around in Inter world, and enjoy themselves in it. We used to watch news , browse topics in web forum , go shopping on Ebusiness websit, write our blog and so on . Of course, The most necessary are numbers of searching engines which help us find the desired information. In a word, Inter turns to a type of our life style, a huge repository. Online forum system is one of the most mon form of work, and its main function is giving Inter users a platform to exchange, municating, learning and helping each other. The system based on the MVC model, using the popular Threetier Model (JSP+JavaBean+Servlet) .In the design process, I separate the display of pages from the functional logic, in order to make the system is conducive to the maintenance and upgrading. The development process to use development tools : web server tomcat, SQL Server 2020 database server, integrated development tools MyEclipse and jdk. Forum whole system is divided into prospects and the background of two large modules. Module prospects which the basic functions are : user registration, user landing, Browse articles published reply to publish a new message。 Module background the basic functions are : edit user rights, frontpage editorial forum to delete Forum plate, delete articles. Key Words: forum system MVC model JSP SQL Server Tomcat Signature of Supervisor: 目 錄 摘要: ................................................. 2 如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 4 Abstract: ............................................. 3 1 前言 ................................................. 6 1. 1網(wǎng)絡(luò)論壇系統(tǒng)介紹 ................................................. 6 1. 2網(wǎng)絡(luò)論壇系統(tǒng)的特點(diǎn) ............................................... 6 1. 3 關(guān)于本課題 ....................................................... 7 2 需求分析 ............................................. 8 2. 1 功能需求 ......................................................... 8 注冊(cè)模塊 ..................................................... 8 登陸模塊 ..................................................... 8 論壇管理模塊 ................................................. 8 帖子管理模塊 ................................................. 8 2. 2 運(yùn)行環(huán)境需求 ..................................................... 8 系統(tǒng)軟件的建議配置 ........................................... 8 系統(tǒng)硬件的建議配置 ........................................... 9 2. 3 界面設(shè)計(jì) ......................................................... 9 界面操作需求 ................................................. 9 界面功能需求 ............................................... 9 3 開發(fā)平臺(tái)與主要技術(shù) .................................. 12 3. 1 開發(fā)平臺(tái) ........................................................ 12 MyEclipse .................................................... 12 Tomcat ....................................................... 13 JDK ......................................................... 13 3. 2 主要技術(shù) ........................................................ 14 JSP ......................................................... 14 MVC 模式 .................................................... 16 MVC 工作原理 .............................................. 16 MVC 的核心思想 ............................................ 17 3. 3 數(shù)據(jù)庫設(shè)計(jì) ...................................................... 18 SQL Server 介紹 ............................................. 18 數(shù)據(jù)庫的特點(diǎn) ................................................ 18 數(shù)據(jù)庫的設(shè)計(jì) ................................ 錯(cuò)誤 !未定義書簽。 主要數(shù)據(jù)庫表的介紹 ......................... 錯(cuò)誤 !未定義書簽。 主要數(shù)據(jù)庫表的結(jié)構(gòu) ......................... 錯(cuò)誤 !未定義書簽。 4 系統(tǒng)實(shí)現(xiàn) ............................. 錯(cuò)誤 !未定義書簽。 4. 1 建立數(shù)據(jù)庫連接 ................................. 錯(cuò)誤 !未定義書簽。 4. 2系統(tǒng)的具體實(shí)現(xiàn) .................................. 錯(cuò)誤 !未定義書簽。 用戶注冊(cè) ..................................................... 19 用戶登陸 ..................................................... 33 如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 5 瀏覽論壇帖子及回帖 ........................................... 39 發(fā)表新帖 ..................................................... 59 5 結(jié)束語 .............................................. 63 6 參考文獻(xiàn) ............................................ 64 7 致 謝 .............................................. 65 如果要全套請(qǐng)登陸 或聯(lián)系 :632926059 6 1 前言 1. 1 網(wǎng)絡(luò)論壇系統(tǒng)介紹 隨著計(jì)算機(jī)技術(shù)的進(jìn)步與發(fā)展以及 Inter 技術(shù)日益成熟, 互聯(lián)網(wǎng)正在融入我們的生 活, 影響和改變著我們的生活。 網(wǎng)絡(luò) 提供給我們的不 僅 是 一個(gè)獲取信息的 的來源,而且還是一個(gè)可以相互交流的 空間, 網(wǎng)上論壇正是一種供人們進(jìn)行交流的網(wǎng)絡(luò)空間。