【正文】
學(xué) 士 學(xué) 位 論 文 基于 Java的購物網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn) 姓 名: 學(xué) 號(hào): 2021123101 指導(dǎo)教師: 張猛 講師 學(xué) 院 : 信息科學(xué)與工程學(xué)院 專 業(yè): 計(jì)算機(jī)科學(xué)與技術(shù) 完成日期: 2021 年 05 月 20 日 學(xué)校代碼: 10904 學(xué) 士 學(xué) 位 論 文 基于 Java的購物網(wǎng)站的設(shè)計(jì)與實(shí)現(xiàn) 姓 名: 學(xué) 號(hào): 2021123101 指導(dǎo)教師: 張猛 講師 學(xué) 院 : 信息科學(xué)與工程學(xué)院 專 業(yè): 計(jì)算機(jī)科學(xué)與技術(shù) 完成日期: 2021 年 05 月 20 日 i 摘 要 隨著信息 化技術(shù)的發(fā)展和 普及, 以及 網(wǎng)絡(luò)技術(shù)的迅猛發(fā)展,人類社會(huì)已經(jīng)進(jìn)入了一個(gè)信息化 的互聯(lián)網(wǎng) 社會(huì) ;由于 互聯(lián)網(wǎng)的 迅速普及 , 使 人們 的 消費(fèi)觀念和生活方式 發(fā)生了 改變 ; 電子商務(wù) , 這種新型的商業(yè)模式 在這一背景下, 逐漸融入到了人們的生活當(dāng)中。 本購物 網(wǎng)站 系統(tǒng) 主要 采用 JSP + JavaBean + Database模式,并根據(jù)現(xiàn)有的網(wǎng)上購物系統(tǒng) 來設(shè)計(jì)并開發(fā)的 電子商務(wù)平臺(tái)。 具備了電子商務(wù)的 簡(jiǎn)單、快捷、低成本 等優(yōu)點(diǎn) , 為商家提供了一個(gè)很好的網(wǎng)上營銷的平臺(tái) , 最主要的是它不但可以降低成本、提高 效率 ,還可以擴(kuò)大銷售范圍??傊?,本購物系統(tǒng)是現(xiàn)代商家線上運(yùn)作的很好選擇。 本文首先介紹了網(wǎng)上購物系統(tǒng) 國內(nèi)外發(fā)展現(xiàn)狀和應(yīng)用現(xiàn)狀 ,然后 簡(jiǎn)單的介紹了系統(tǒng)開發(fā)過程中所用到的關(guān)鍵技術(shù),分析了系統(tǒng)設(shè)計(jì)的原則,詳細(xì)論述了 系統(tǒng)需求 、系統(tǒng)的 總體設(shè)計(jì) 以及 系統(tǒng)的 前臺(tái)和后臺(tái)的 詳細(xì)設(shè)計(jì)。最后,本文 還 對(duì)系統(tǒng)進(jìn)行了 功能測(cè)試, 并提出 一些需要改進(jìn)和需要完善 的 功能 。 本系統(tǒng)為用戶提供 的功能主要包括: 會(huì)員注冊(cè), 會(huì)員 購物車,商品搜索, 用戶下單、查看 用戶資料 及其 修改等功 能 ; 為管理員提供了商品管理, 訂單管理, 用戶信息管理等功能。在設(shè)計(jì)方面,本系統(tǒng)采用 B/S模式 ,同時(shí)使用 JSP技術(shù)進(jìn)行動(dòng)態(tài)頁面的設(shè)計(jì),從系統(tǒng)的安全性和代碼的可重用性方面考慮,運(yùn)用 JavaBean對(duì)程序的關(guān)鍵代碼進(jìn)行封裝 ,主要實(shí)現(xiàn)業(yè)務(wù)邏輯的處理 。后臺(tái)數(shù)據(jù)庫選用 MySQL數(shù)據(jù)庫 負(fù)責(zé)持久保持?jǐn)?shù)據(jù) 。 【關(guān)鍵詞】 購物網(wǎng)站; B/S 模式 ; JavaBean; JSP ii Abstract With the development and popularization of information technology, and rapid development of work technology, human society has entered an information inter society。 Due to the rapid popularization of the Inter, people39。s consumption concept and way of life has changed。 The electronic merce, this new type of business model in this context, gradually integrates into the people39。s life. This shopping website system mainly uses the JSP + JavaBean + Database model, and the design and development of emerce platform based on the current situation of online shopping system. The electronic merce is simple, fast, low cost of the basic means of munication, it can not only expand the business scale and market influence, and can reduce the operating costs of enterprises, and improve work efficiency. This paper first introduces the current situation and development background of online shopping system, and then introduces the key technologies used in the system development process, discussing the system design objectives, system requirements and design program, more detailed discussion of the system design and realization. Finally, I test the online shopping system and put forward the problems need to be improved. The system has mainly provided users with the following functions: membership registration, shopping car management, goods search, information modify etc. It has also provided managers with goods management, customer information management and so on. It has been designed with B/S mode of threetier structure and JSP technology in dynamic page design. Considering from the security and reusing code of the system, key codes has been secured by JavaBean technology. MySQL database has been used as the database. 【 key words】 shopping website。 B/S。 JavaBean。 JSP I 目 錄 第 1 章 緒 論 ....................................................................................................................1 引言 ...........................................................................................................................1 國內(nèi)外發(fā)展和應(yīng)用現(xiàn)狀 ...........................................................................................1 國內(nèi)外發(fā)展?fàn)顩r ...............................................................................................2 應(yīng)用現(xiàn)狀 ...........................................................................................................3 本課題主要研究?jī)?nèi)容 ..............................................................................................3 第 2 章 技術(shù)介紹及系統(tǒng)概述 ............................................................................................4 系統(tǒng)開發(fā)技術(shù) ..........................................................................................................4 Java 語言簡(jiǎn)介 ..................................................................................................4 JSP 簡(jiǎn)介 ............................................................................................................4 JavaBean 簡(jiǎn)介 ..................................................................................................5 MySql 簡(jiǎn)介 ........................................................................................................6 Tomcat 簡(jiǎn)介 ......................................................................................................6 MVC 開發(fā)模型簡(jiǎn)介 ............................................................................................7 集成開發(fā)工具 Eclipse 簡(jiǎn)介 ...........................................................................8 系統(tǒng)設(shè)計(jì)原則 ..........................................................................................................8 實(shí)用性原則 .......................................................................................................8 可維護(hù)性原則 ...................................................................................................8 安全性原則 .......................................................................................................8 系統(tǒng)界面設(shè)計(jì)原則 ...........................................................................................9 本章小結(jié) ..................................................................................................................9 第 3 章 需求分析 .............................................................................................................. 10 需求分析的基本任務(wù) ............................................................................................ 10 可行性研究 ............................................................................................................ 10 技術(shù)可行性 .......................................................................