【正文】
學 士 學 位 論 文 基于 Java的購物網站的設計與實現 姓 名: 學 號: 2021123101 指導教師: 張猛 講師 學 院 : 信息科學與工程學院 專 業(yè): 計算機科學與技術 完成日期: 2021 年 05 月 20 日 學校代碼: 10904 學 士 學 位 論 文 基于 Java的購物網站的設計與實現 姓 名: 學 號: 2021123101 指導教師: 張猛 講師 學 院 : 信息科學與工程學院 專 業(yè): 計算機科學與技術 完成日期: 2021 年 05 月 20 日 i 摘 要 隨著信息 化技術的發(fā)展和 普及, 以及 網絡技術的迅猛發(fā)展,人類社會已經進入了一個信息化 的互聯網 社會 ;由于 互聯網的 迅速普及 , 使 人們 的 消費觀念和生活方式 發(fā)生了 改變 ; 電子商務 , 這種新型的商業(yè)模式 在這一背景下, 逐漸融入到了人們的生活當中。 本購物 網站 系統(tǒng) 主要 采用 JSP + JavaBean + Database模式,并根據現有的網上購物系統(tǒng) 來設計并開發(fā)的 電子商務平臺。 具備了電子商務的 簡單、快捷、低成本 等優(yōu)點 , 為商家提供了一個很好的網上營銷的平臺 , 最主要的是它不但可以降低成本、提高 效率 ,還可以擴大銷售范圍??傊?,本購物系統(tǒng)是現代商家線上運作的很好選擇。 本文首先介紹了網上購物系統(tǒng) 國內外發(fā)展現狀和應用現狀 ,然后 簡單的介紹了系統(tǒng)開發(fā)過程中所用到的關鍵技術,分析了系統(tǒng)設計的原則,詳細論述了 系統(tǒng)需求 、系統(tǒng)的 總體設計 以及 系統(tǒng)的 前臺和后臺的 詳細設計。最后,本文 還 對系統(tǒng)進行了 功能測試, 并提出 一些需要改進和需要完善 的 功能 。 本系統(tǒng)為用戶提供 的功能主要包括: 會員注冊, 會員 購物車,商品搜索, 用戶下單、查看 用戶資料 及其 修改等功 能 ; 為管理員提供了商品管理, 訂單管理, 用戶信息管理等功能。在設計方面,本系統(tǒng)采用 B/S模式 ,同時使用 JSP技術進行動態(tài)頁面的設計,從系統(tǒng)的安全性和代碼的可重用性方面考慮,運用 JavaBean對程序的關鍵代碼進行封裝 ,主要實現業(yè)務邏輯的處理 。后臺數據庫選用 MySQL數據庫 負責持久保持數據 。 【關鍵詞】 購物網站; 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 國內外發(fā)展和應用現狀 ...........................................................................................1 國內外發(fā)展狀況 ...............................................................................................2 應用現狀 ...........................................................................................................3 本課題主要研究內容 ..............................................................................................3 第 2 章 技術介紹及系統(tǒng)概述 ............................................................................................4 系統(tǒng)開發(fā)技術 ..........................................................................................................4 Java 語言簡介 ..................................................................................................4 JSP 簡介 ............................................................................................................4 JavaBean 簡介 ..................................................................................................5 MySql 簡介 ........................................................................................................6 Tomcat 簡介 ......................................................................................................6 MVC 開發(fā)模型簡介 ............................................................................................7 集成開發(fā)工具 Eclipse 簡介 ...........................................................................8 系統(tǒng)設計原則 ..........................................................................................................8 實用性原則 .......................................................................................................8 可維護性原則 ...................................................................................................8 安全性原則 .......................................................................................................8 系統(tǒng)界面設計原則 ...........................................................................................9 本章小結 ..................................................................................................................9 第 3 章 需求分析 .............................................................................................................. 10 需求分析的基本任務 ............................................................................................ 10 可行性研究 ............................................................................................................ 10 技術可行性 .......................................................................