基于JSP的网上图书销售系统
的设计及实现
学 生:XXXXX 学 号:XXXXX 专 业:XXXX 班 级:XXXX 指导教师:XXXXX
XXXXXXX
二O 一一年六月
基于JSP的网上图书销售系统的设计与实现
摘 要
传统的购物方式需要客户走出家门,去到卖场才能选择商品,浪费时间不止,而且不一定能买到自己称心如意的商品,同时这种购物方式逐渐不能满足现代人生活的快节奏。 随着Internet技术的不断完善和网上交易平台的不断完善,催生了一种新的购物方式——网上购物。网上购物逐渐成为时下最流行的购物方式。
本系统是在网上购物快捷方便的前提下为有网上图书销售业务需求的个体商户而开发的。网站采用JSP技术进行设计和开发,并通过使用MySQL数据库来对数据进行管理,主要以MyEclipse作为开发工具,项目运行的服务器是Tomcat 6.0。网站主要模块包括前台和后台管理模块,前台包括:商城简介、书籍展示、用户登陆、用户注册、书籍查询、发表评论、购买书籍、下订单等模块;后台包括:管理员登陆、书籍管理、新闻管理、评论管理等模块。本文主要介绍如何根据网上图书销售系统的需求分析,完成数据库的设计及各个功能模块的实现。
关键词:网上图书销售系统;JSP; MySQL
I
The Design and Implementation of Books Selling
Online System which is Based on JSP
ABSTRACT
Traditional shopping needs of the customers out of the house, go to the store to select a product, waste of time and may not be able to buy their own desirable goods, while this method of shopping increasingly unable to meet the fast pace of modern life. As Internet technology continues to improve and constantly improve the online trading platforms has created a new way of shopping -- shopping online. Online shopping has become the most popular means of shopping.
This system is developed for the individual businesses that have the necessary of selling books online. This website is designed and developed with JSP technology . Its date is managed by MySQL 5.0 database. It uses MyEclipse as the development tool, Tomcat 6.0 as its project operation server. Front desk and background management module are the two main modules of the website, the Front desk module includes shop introduction, the books show, the user register, the user login, the books inquires, the publish of comments, the purchase of books, the management of orders and other modules. The background management module includes administrator login, the management of books, news, comments and so on. This article describes how to according to the needs of online book sales system analysis, database design and realization of each functional module.
Keywords: books selling online system;JSP;MySQL
II
目录
第1章 绪论 .................................................................................................................... 1 1.1 概述 ....................................................................................................................... 1 1.2 开发环境 ............................................................................................................... 2 第2章 可行性分析 ........................................................................................................ 3 2.1 经济可行性 ........................................................................................................... 3 2.2 社会可行性 ........................................................................................................... 4 2.3 技术可行性 ........................................................................................................... 4 2.4 操作可行性 ........................................................................................................... 4 2.5 小结 ....................................................................................................................... 4 第3章 需求分析 ............................................................................................................ 5 3.1 需求调查 ............................................................................................................... 5 3.1.1 基本情况 ......................................................................................................... 5 3.1.2 选题现状 ......................................................................................................... 5 3.1.3 用户需求 ......................................................................................................... 5 3.2 需求分析 ............................................................................................................... 6 3.2.1 功能需求分析 ................................................................................................. 6 3.2.2 数据需求分析 ................................................................................................. 7 3.3 系统配置分析 ....................................................................................................... 7 3.3.1 硬件环境 ......................................................................................................... 7 3.3.2 软件环境 ......................................................................................................... 7 3.4 小结 ....................................................................................................................... 8 第4章 概要设计 ............................................................................................................ 9 4.1 系统设计目标 ....................................................................................................... 9 4.2 系统的模块结构设计 ........................................................................................... 9
III