【正文】
gration and the development of electronic merce, the industry wills increasingly fierce petition between. The rapid development of Inter and emerce breakthrough in time and space limitations, brings more development opportunities to enterprises, but also increases the intensity of petition among enterprises. In this paper, the online book purchase and sale as an example, expounds the online book purchase and sale system brings the convenience. Online book purchase and sale system is a typical emerce systems. With the popularity of the Inter and online book purchase and sale is being more and more mature, there will be more and more consumer groups to join the ranks of online shopping, the market potential will be given full play. This system realizes the basic function of the site, including registration, membership view sites within the book details, view the announcement, add shopping cart and view orders as well as the administrator for the library management, order management, inventory management etc. The system uses the Java language programming, uses my eclipse as development tool, JSP as the web development technology, mainly according to the system design and an overview of the application and development of Inter in business. The system page friendly, simple operation and easy to use. Key words: JSP。 online bookstore 北京郵電大學(xué)畢業(yè)設(shè)計 目 錄 摘要 ................................................................. i Abstract ............................................................ ii 1 緒論 .............................................................. 1 課題的背景、目的與意義 ....................................... 1 國內(nèi)外現(xiàn)狀 ................................................... 1 研究內(nèi)容 ..................................................... 1 2 相關(guān)技術(shù)簡介 ...................................................... 2 JAVA 的簡介 ................................................... 2 Mysql 的簡介 .................................................. 2 MVC 模式介紹 .................................................. 2 基于 B/S 的體系結(jié)構(gòu) ........................................... 3 3 系統(tǒng)分析 .......................................................... 4 可行性分析 ................................................... 4 需求分析 ..................................................... 4 業(yè)務(wù)需求分析 ........................................... 4 會員需求分析 ........................................... 4 運行環(huán)境及開發(fā)工具 ..................................... 5 4 系統(tǒng)總體設(shè)計 ...................................................... 6 系統(tǒng)結(jié)構(gòu)設(shè)計 ................................................. 6 功能模塊設(shè)計 ................................................. 6 后臺模塊的功能模塊設(shè)計 ................................. 6 前臺模塊的功能模塊設(shè)計 ................................. 7 數(shù)據(jù)庫設(shè)計 ................................................... 8 實體圖 ................................................. 8 基本表設(shè)計 ............................................ 11 5 系統(tǒng)實現(xiàn) ......................................................... 15 程序設(shè)計 .................................................... 15 系統(tǒng)頁面的設(shè)計與實現(xiàn) ........................................ 15 會員功能模塊的實現(xiàn) .......................................... 15 會員注冊登錄模塊 ...................................... 17 查看圖書模塊 .......................................... 23 購物車模塊 ............................................ 25 我的訂單模塊 .......................................... 27 留言交流模塊 .......................................... 28 管理員功能模塊的實現(xiàn) ........................................ 28 管理員登錄模塊 ........................................ 28 留言管理模塊 .......................................... 30 公告管理模塊 .......................................... 30 圖書類別管理模塊 ...................................... 31 圖書管理模塊 .......................................... 32 訂單管理模塊 .......................................... 34 庫存記錄模塊 .......................................... 37 北京郵電大學(xué)畢業(yè)設(shè)計 會員管理模塊 .......................................... 38 6 系統(tǒng)調(diào)試與實施 ................................................... 41 系統(tǒng)測試的重要性 ............................................ 41 系統(tǒng)測試的方法 .............................................. 41 結(jié)論 ................................................................ 42 參考文獻(xiàn) ............................................................ 43 致謝 ................................................................ 44 外文原文 ............................................................ 45 中文翻譯 ............................................................ 54 北京郵電大學(xué)畢業(yè)設(shè)計 1 1 緒論 課題的背景、目的與意義 隨著 Inter 國際互聯(lián)網(wǎng)的發(fā)展,商務(wù)服務(wù)已經(jīng)成為現(xiàn)代企業(yè)一項不可缺少的內(nèi)容。網(wǎng)絡(luò)漸漸的從人們極少了解的領(lǐng)域來到了全球平常人的生活中。 研究內(nèi)容 這次設(shè)計實現(xiàn)了一個在線圖書購銷存網(wǎng)站。 這個網(wǎng)上書店系統(tǒng)所需要的功能從會員角度進(jìn)行劃分,可以分為前臺會員功能和后臺管理功能。 Java 分為三個體系JavaSE(Java2 Platform Standard Edition , java 平臺標(biāo)準(zhǔn)版 ) , JavaEE(Java 2 Platform,Enterprise Edition, java 平臺企業(yè)版 ), JavaME(Java 2 Platform Micro Edition, java平臺微型版 )。 MySQL 的 SQL 語言是用于訪問數(shù)據(jù)庫的最常用標(biāo)準(zhǔn)化語言。查詢語言允許復(fù)雜的連接 (join)查詢,但是所有的參考完整必須由程序員強(qiáng)制保證。 (1)MModel 模型 模型( Model)的職責(zé)是負(fù)責(zé)業(yè)務(wù)邏輯。屬于視圖的類是不包含業(yè)務(wù)邏輯和控制邏輯的 JSP(如果在 JSP 頁面中有 %%就能算是視圖層的類,戒者 JSP中有轉(zhuǎn)發(fā)和戒者重定向的控制邏輯也是可以的)。服務(wù)器將擔(dān)負(fù)更多的工作,對數(shù)據(jù)庫和應(yīng)用程序的執(zhí)行將在服務(wù)器上完成。這種三層結(jié)構(gòu)在層與層之 間相互獨立,任何一層的改變不會影響其它層的功能。 (2)經(jīng)濟(jì)可行性 開發(fā)該系統(tǒng)所需的相關(guān)資料可以通過已存在的相關(guān)系統(tǒng)進(jìn)行調(diào)查采集,所需的其他應(yīng)用軟件 、硬件系統(tǒng)也易于獲得,可以節(jié)省不少人力、物力及財力。 會員需求分析 這個網(wǎng)站以上面的業(yè)務(wù)需求為基礎(chǔ),進(jìn)一步提出網(wǎng)站需要完成的以下任務(wù):網(wǎng)站需要讓供應(yīng)商、會員以及瀏覽者能清晰的看到商城的信息及動態(tài), 另一個重要的內(nèi)容就是能夠顯示出該商城現(xiàn)有的各類型圖書及其詳細(xì)信息功能需求分析。 后臺管理相關(guān)功能主要包括: (1)公告管理; (2)圖書類別管理; (3)圖書管理; (4)訂單管理; 北京郵電大學(xué)畢業(yè)設(shè)計 5 (5)查看庫存記錄; (6)庫存盤點; (7)銷售統(tǒng)計; (8)留言管理; (9)會員管理; (10)圖片管理; (11)密碼修改等。 Web 應(yīng)用服務(wù)器: 。 管理員的主要操作主要對圖書的管理、訂單的管理、庫存等的管理。 (2)類別管理: