基于j2ee的博客系統(tǒng)的設計與實現(xiàn)畢業(yè)設計.doc
約70頁DOC格式手機打開展開
基于j2ee的博客系統(tǒng)的設計與實現(xiàn)畢業(yè)設計,摘 要隨著因特網的快速發(fā)展和廣泛應用,通過網站進行交流和管理已經成為一種趨勢,博客是繼email,即時通訊,bbs之后所興起的新型的網絡交流方式,blog也就是web log的縮寫,簡單來說就是網絡日記,博客做為網絡虛擬社會中的個人標簽,代表了自我在網絡社會里的縮影。 本博客系統(tǒng)是在j2ee平臺上用hibernat...


內容介紹
此文檔由會員 wanli1988go 發(fā)布
摘 要
隨著因特網的快速發(fā)展和廣泛應用,通過網站進行交流和管理已經成為一種趨勢,博客是繼Email,即時通訊,BBS之后所興起的新型的網絡交流方式,Blog也就是WEB LOG的縮寫,簡單來說就是網絡日記,博客做為網絡虛擬社會中的個人標簽,代表了自我在網絡社會里的縮影。
本博客系統(tǒng)是在J2EE平臺上用Hibernate框架技術和MVC模式構建,后臺數(shù)據(jù)庫為SQL Server 2000。網站系統(tǒng)主要包括三大部分:超級管理員部分(管理所有的博客、管理網站公告),個人博客部分(個人資料管理、文章管理、鏈接管理、分類管理和用戶頭像管理),網站訪客部分(注冊、發(fā)表評論、搜索博客和博客排行榜)。在J2EE平臺上使用BS模式開發(fā)博客系統(tǒng),可以使系統(tǒng)具有較高的效率、可移植性和安全性等優(yōu)點。
本文詳細地介紹了系統(tǒng)功能的設計與實現(xiàn)。
關鍵詞:博客,交流,J2EE
Abstract
With the fast development and extensive application of Internet, exchanging and managing the already become one kind of trend , plentiful visitor by the fact that website is in progress is to succeed Email, immediately communication, the what be on the rise late-model network exchanges way after BBS , Blog is just WEB LOG abbreviation , come to speak simplely being a network diary, the plentiful visitor composes in miniature inside the network society for network individual label in supposing society, has represented oneself.
This system is to use Hibernate frame technology and MVC pattern to build on the J2EE platform , the data base is SQL Server 2000. Website system includes three major part mainly: Super administrative person part (bloggers managing , announcement managing),
member part (the individual data managing , the article managing , interlinkage managing , classification managing and the consumer head portrait managing) , not a member part (register , make comments , search and the top bloggers list). Using the BS pattern to develop this system on J2EE platform , can make system have merit such as higher efficiency , transplanting nature and security.
In this book we introduce the designing and implementing of the system’s function detailedly.
Keyword: Blog, Communication, J2EE
目 錄
1 緒論 1
1.1 項目背景 1
1.2 目標 1
2 需求分析 3
2.1 功能需求 3
2.2 性能需求 5
2.2.1 硬件環(huán)境 5
2.2.2 軟件環(huán)境 5
2.3 J2EE相關開發(fā)技術 5
2.3.1 J2EE簡介 5
2.3.2 J2EE的優(yōu)勢 6
2.3.3 J2EE的特點 7
2.3.4 Servlet介紹 7
2.3.5 JSP技術簡介 9
2.4 Hibernate框架技術 12
2.4.1 HIBERNATE簡介 12
2.4.2 HIBERNATE接口 12
2.4.3 HIBERNATE內置策略機制 14
2.4.4 HIBERNATE的HQL語法 15
3 概要設計 19
3.1 系統(tǒng)結構 19
3.2 系統(tǒng)層次模塊圖 21
3.3 數(shù)據(jù)庫設計 23
3.3.1 管理員信息表admin 23
3.3.2 文章信息表article 24
3.3.3 博客會員信息表blog 24
3.3.4 評論信息表feedback 25
3.3.5 鏈接信息表links 25
3.3.6 公告信息表news 25
3.3.7 種類信息表sort 25
3.4 使用樣式表 26
4 詳細設計 28
4.1 數(shù)據(jù)庫持久層設計 28
4.1.1 Hibernate配置 28
4.1.2 數(shù)據(jù)庫操作 30
4.2 網站訪客部分的設計 31
4.2.1 注冊模塊 35
4.2.2 搜索模塊 38
4.2.3 排行榜 39
4.2.4 訪問博客模塊 40
4.2.5 發(fā)表評論模塊 41
4.3 個人博客部分的設計 42
4.3.1 發(fā)表文章模塊 44
4.3.2 評論管理模塊 44
4.3.3 文章管理模塊 45
4.3.4 分類管理 47
4.3.5 鏈接管理 47
4.3.6 個人資料管理 48
4.3.7 頭像管理 49
4.3.8 查看公告 51
4.4 網站管理員部分 50
4.4.1 管理員登錄 51
4.4.2 公告管理 52
4.4.3 博客會員管理 52
4.5 業(yè)務邏輯層 53
4.6 控制處理層 54
5 系統(tǒng)搭建 56
5.1 建立數(shù)據(jù)庫 56
5.2 發(fā)布應用程序 56
6 JAVA課件之五的制作 60
7 結論與展望 63
參考文獻 64
致 謝 65
參考文獻
[1] 張海藩,軟件工程導論,清華大學出版社(第三版),1998.1
[2] 薩師煊,數(shù)據(jù)庫系統(tǒng)概論,高等教育出版社,112-143,2003.5
[3] 李也百,面向對象數(shù)據(jù)庫,高等教育出版社,87-136,1998.4
[4] 洪國勝,張建原等,JAVA程序設計使用Jbuilder 5, 中國電力出版社,2002.5
[5] 黃明,梁旭,JSP信息系統(tǒng)設計與開發(fā)實例,機械工業(yè)出版社,2003.3
[6] 肖金秀,馮沃輝,施鴻翔,JSP程序設計教程,冶金工業(yè)出版社,2003.9
[7] 李衛(wèi)華,傅曉東,JAVA語言基礎及其應用,廣西科學技術出版社,1997.10
[8] 陳帆,周榮輝等,JAVA 2 程序程序設計實用教程,機械工業(yè)出版社,2005.9
[9] Tsichritzis D C, Locchovsky F H.Data Models.Prentice-Hall,1982.
[10] David Whitgift.Methods and Tools for Software Configuration Management.John Wiley & Sons, 1991.
隨著因特網的快速發(fā)展和廣泛應用,通過網站進行交流和管理已經成為一種趨勢,博客是繼Email,即時通訊,BBS之后所興起的新型的網絡交流方式,Blog也就是WEB LOG的縮寫,簡單來說就是網絡日記,博客做為網絡虛擬社會中的個人標簽,代表了自我在網絡社會里的縮影。
本博客系統(tǒng)是在J2EE平臺上用Hibernate框架技術和MVC模式構建,后臺數(shù)據(jù)庫為SQL Server 2000。網站系統(tǒng)主要包括三大部分:超級管理員部分(管理所有的博客、管理網站公告),個人博客部分(個人資料管理、文章管理、鏈接管理、分類管理和用戶頭像管理),網站訪客部分(注冊、發(fā)表評論、搜索博客和博客排行榜)。在J2EE平臺上使用BS模式開發(fā)博客系統(tǒng),可以使系統(tǒng)具有較高的效率、可移植性和安全性等優(yōu)點。
本文詳細地介紹了系統(tǒng)功能的設計與實現(xiàn)。
關鍵詞:博客,交流,J2EE
Abstract
With the fast development and extensive application of Internet, exchanging and managing the already become one kind of trend , plentiful visitor by the fact that website is in progress is to succeed Email, immediately communication, the what be on the rise late-model network exchanges way after BBS , Blog is just WEB LOG abbreviation , come to speak simplely being a network diary, the plentiful visitor composes in miniature inside the network society for network individual label in supposing society, has represented oneself.
This system is to use Hibernate frame technology and MVC pattern to build on the J2EE platform , the data base is SQL Server 2000. Website system includes three major part mainly: Super administrative person part (bloggers managing , announcement managing),
member part (the individual data managing , the article managing , interlinkage managing , classification managing and the consumer head portrait managing) , not a member part (register , make comments , search and the top bloggers list). Using the BS pattern to develop this system on J2EE platform , can make system have merit such as higher efficiency , transplanting nature and security.
In this book we introduce the designing and implementing of the system’s function detailedly.
Keyword: Blog, Communication, J2EE
目 錄
1 緒論 1
1.1 項目背景 1
1.2 目標 1
2 需求分析 3
2.1 功能需求 3
2.2 性能需求 5
2.2.1 硬件環(huán)境 5
2.2.2 軟件環(huán)境 5
2.3 J2EE相關開發(fā)技術 5
2.3.1 J2EE簡介 5
2.3.2 J2EE的優(yōu)勢 6
2.3.3 J2EE的特點 7
2.3.4 Servlet介紹 7
2.3.5 JSP技術簡介 9
2.4 Hibernate框架技術 12
2.4.1 HIBERNATE簡介 12
2.4.2 HIBERNATE接口 12
2.4.3 HIBERNATE內置策略機制 14
2.4.4 HIBERNATE的HQL語法 15
3 概要設計 19
3.1 系統(tǒng)結構 19
3.2 系統(tǒng)層次模塊圖 21
3.3 數(shù)據(jù)庫設計 23
3.3.1 管理員信息表admin 23
3.3.2 文章信息表article 24
3.3.3 博客會員信息表blog 24
3.3.4 評論信息表feedback 25
3.3.5 鏈接信息表links 25
3.3.6 公告信息表news 25
3.3.7 種類信息表sort 25
3.4 使用樣式表 26
4 詳細設計 28
4.1 數(shù)據(jù)庫持久層設計 28
4.1.1 Hibernate配置 28
4.1.2 數(shù)據(jù)庫操作 30
4.2 網站訪客部分的設計 31
4.2.1 注冊模塊 35
4.2.2 搜索模塊 38
4.2.3 排行榜 39
4.2.4 訪問博客模塊 40
4.2.5 發(fā)表評論模塊 41
4.3 個人博客部分的設計 42
4.3.1 發(fā)表文章模塊 44
4.3.2 評論管理模塊 44
4.3.3 文章管理模塊 45
4.3.4 分類管理 47
4.3.5 鏈接管理 47
4.3.6 個人資料管理 48
4.3.7 頭像管理 49
4.3.8 查看公告 51
4.4 網站管理員部分 50
4.4.1 管理員登錄 51
4.4.2 公告管理 52
4.4.3 博客會員管理 52
4.5 業(yè)務邏輯層 53
4.6 控制處理層 54
5 系統(tǒng)搭建 56
5.1 建立數(shù)據(jù)庫 56
5.2 發(fā)布應用程序 56
6 JAVA課件之五的制作 60
7 結論與展望 63
參考文獻 64
致 謝 65
參考文獻
[1] 張海藩,軟件工程導論,清華大學出版社(第三版),1998.1
[2] 薩師煊,數(shù)據(jù)庫系統(tǒng)概論,高等教育出版社,112-143,2003.5
[3] 李也百,面向對象數(shù)據(jù)庫,高等教育出版社,87-136,1998.4
[4] 洪國勝,張建原等,JAVA程序設計使用Jbuilder 5, 中國電力出版社,2002.5
[5] 黃明,梁旭,JSP信息系統(tǒng)設計與開發(fā)實例,機械工業(yè)出版社,2003.3
[6] 肖金秀,馮沃輝,施鴻翔,JSP程序設計教程,冶金工業(yè)出版社,2003.9
[7] 李衛(wèi)華,傅曉東,JAVA語言基礎及其應用,廣西科學技術出版社,1997.10
[8] 陳帆,周榮輝等,JAVA 2 程序程序設計實用教程,機械工業(yè)出版社,2005.9
[9] Tsichritzis D C, Locchovsky F H.Data Models.Prentice-Hall,1982.
[10] David Whitgift.Methods and Tools for Software Configuration Management.John Wiley & Sons, 1991.