【正文】
1 基于 JSP 網(wǎng)上書(shū)店系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 摘 要 : 電子商務(wù) (Electronic Commerce)是互聯(lián)網(wǎng)上出現(xiàn)的新概念 . 它是 利用計(jì)算機(jī)技術(shù)、網(wǎng)絡(luò)技術(shù)和遠(yuǎn)程通信技術(shù),實(shí)現(xiàn)整個(gè)商務(wù) (買(mǎi)賣(mài) )過(guò)程中的電子化、數(shù)字化和網(wǎng)絡(luò)化。 它使 人們不再是面對(duì)面的、看著實(shí)實(shí)在在的貨物、靠紙介質(zhì)單據(jù) (包括現(xiàn)金 )進(jìn)行買(mǎi)賣(mài)交易。而是通過(guò)網(wǎng)絡(luò),通過(guò)網(wǎng)上琳瑯滿(mǎn)目的商品信息、完善的物流配送系統(tǒng)和方便安全的資金結(jié)算系統(tǒng)進(jìn)行交易 。它已經(jīng)被廣泛使用 ,給人們帶來(lái)了便利,并逐漸改變了人們的生活方式 . 國(guó)內(nèi)電子購(gòu)物網(wǎng)站多數(shù)是用 ASP, PHP 技術(shù)實(shí) 現(xiàn)的,而基于 JSP 的優(yōu)秀網(wǎng)站較少。 Sun Microsystems 所開(kāi)發(fā)的 JSP 以 JAVA 為平臺(tái),利用 JAVA 純面向?qū)ο缶幊陶Z(yǔ)言的巨大優(yōu)勢(shì)(跨平臺(tái)性即一次編譯到處運(yùn)行的特點(diǎn)),給我們的動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì)帶來(lái)了很大的方便。 本系統(tǒng)利用 JSP+JavaBean+ SQL Server 數(shù)據(jù)庫(kù)三層模式實(shí)現(xiàn)了網(wǎng)上書(shū)店系統(tǒng)。本論文對(duì)系統(tǒng)的需求分析、系統(tǒng)總體架構(gòu)及詳細(xì)設(shè)計(jì)進(jìn)行了詳細(xì)地闡述,主要實(shí)現(xiàn)了以下功能:會(huì)員注冊(cè)、登錄 /注銷(xiāo);用戶(hù)管理;瀏覽圖書(shū)詳細(xì)信息;圖書(shū)搜索;圖書(shū)管理;購(gòu)物車(chē);訂單;訂單管理等。 關(guān)鍵字: 購(gòu)物車(chē); JSP; SQL 2 Design and Implementation of Online Bookshop System Based On JSP Technology Abstract : Electronic mence over the Inter is a new concept. It is the use of puter technology, work technology and longrange munications technology to achieve a business (sale) process, the electronic, digital and working. It makes it no longer a facetoface, watching real goods, rely on puterized documents (including cash) transactions. But through works, through online information presented modities, improved logistics and distribution systems and clearing systems for financial transactions security. In recent years, it has bee so broadly used that it is often let undifferentiated from other current trends which rely on automation,such as concurrent engineering and just in time manufacturing. Domestic electronic shopping websites are used mostly ASP,PHP technical achievement, and outstanding websites based on JSP less. Sun Microsystems developed JSP Java as a platform to use pure objectoriented programming language Java great advantages (crossplatform nature of the operational characteristics of a translation everywhere), to our dynamic website design brings great convenience. The system uses JSP+JavaBean+ SQL Server database achieved the threetier model online bookstore system. The papers on the needs analysis system, the overall structure and systems for the detailed design of detail, the main achievement of the following functions : Member registration, download / cancelled。 User management。 Browse books detailed information。 Book Search。 Library management。 A shopping cart。 Orders。 Orders management. Key words: shoppingcar。 JSP。 SQL 3 目 錄 前 言 ................................................................................................................. 5 第 1 章 概 述 ....................................................................................................... 6 開(kāi)發(fā)背景 ................................................................................................................................................................. 6 JSP 簡(jiǎn)介 ................................................................................................................................................................. 6 JSP的運(yùn)行原理 ............................................................................................................................................. 6 JSP頁(yè)面的組成 ............................................................................................................................................. 7 JavaBean技術(shù)介紹 ....................................................................................................................................... 8 JSP的運(yùn)行環(huán)境 ............................................................................................................................................... 8 系統(tǒng)開(kāi)發(fā)環(huán)境 ......................................................................................................................................................... 9 服務(wù)器的配置 .................................................................................................................................................. 9 數(shù)據(jù)庫(kù)后臺(tái)環(huán)境的配置 ...............................................................................................................................12 第 2 章 需求分析 ................................................................................................ 16 系統(tǒng)組成: ...........................................................................................................................................................16 角色識(shí)別 ...............................................................................................................................................................16 系統(tǒng)要求配置 .......................................................................................................................................................19 第 3 章 系統(tǒng)設(shè)計(jì) .................................................................................................. 20 系統(tǒng)的流程設(shè)計(jì)和功能模塊 .............................................................................................................................20 數(shù)據(jù)庫(kù)設(shè)計(jì) .............................................................................................................................................................23 數(shù)據(jù)庫(kù)需求分析 ..........................................................................................................................................23 數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)設(shè)計(jì) ..................................................................................................................................26 第 4章 詳細(xì)設(shè)計(jì) ................................................................................................ 28 系統(tǒng)概述 .................................................................................................................................................................28 4. 1. 1用戶(hù)界面部分 .............................................................................................................................................28 4. 1. 2 管理界面