I
网上购物服务系统
摘 要
二十一世纪是一个集数字化,网络化,信息化的,以网络为核心的社会。中国的网民充
分领略到“畅游天地间,网络无极限” 所带来的畅快。随着 Internet 的飞速发展,使得网络的
应用日益的广泛。如电子商务,电子政务,网上医疗,网上娱乐,网络游戏,网络教学等。
本次毕业设计的题目就是网上购物服务系统。
本论文就毕业设计的内容,系统地阐述了整个网上购物服务系统的功能及实现。实现了
从商品管理,商品分类和查询,到购物车实现,用户订单处理,再到系统管理。基本上实现
了网上购物的功能流程,能够实现用户与商家在网上进行商品交易。本系统界面简单直观,
易于操作和使用,交互性强,完全基于 Internet 网络。
经过分析,我们使用 SUN 公司的 JSP 开发工具,利用其提供的各种面向对象的开发工具,尤
其是数据窗口这一能方便而简洁操纵数据库的智能化对象,首先在短时间内建立系统应用原型,
然后,对初始原型系统进行需求迭代,不断修正和改进,直到形成满意的可行系统。
关键词:管理系统、JSP、信息时代
II
Network convenient service system
Abstract
The 21st century is a collection digitization, the network, the informationization, take network
as core society. China's web cams understand fully “enjoy a trip to between the world, the network
does not have carefree which the limit” brings. Along with the Internet swift development, causes
the network application day-by-day widespread. If electronic commerce, E-government, on-line
medical service, on-line entertainment, network game, network teaching and so on. the this
graduation project's topic is the network convenient service system.
The present paper on graduation project's content, elaborated systematically the entire network
convenient service system's function and realizes. Has realized from the merchandise control, the
classification of goods and the inquiry, realizes to the shopping cart, user order form processing,
arrives at the system administration again. Basically has realized on-line shopping function flow,
can realize the user and the business on-line carries on the commodity exchange. This system
contact surface simple direct-viewing, simplify operation and use, interactive is strong, completely
based on the Internet network.
After the analysis, we use SUN Corporation's JSP development kit, uses each kind of
object-oriented development kit which it provides, particularly the data window this can convenient
and the succinct operation database intellectualized object, first establishes the system application
prototype in a short time, then, carries on the demand iteration to the initial prototype system,
revises unceasingly and improves, until forms the satisfied feasible system.
Key word: Management system , JSP, Information age
III
目 录
摘 要..............................................................I
ABSTRACT...........................................................II
第一章 绪论.........................................................1
1.1 目的和意义.......................................................................................................1
1.2 开发设计思想...................................................................................................1
1.3 开发目标...........................................................................................................1
第二章 开发工具和环境简介..........................................2
2.1 Java Server Page 简介 ......................................................................................2
2.2 mysql 简介 .........................................................................................................2
2.3 JDBC 驱动程序简介 ........................................................................................4
2.4 JavaBeans 简介..............................................................................................5
2.5 JAVA 简介.....................................................................................................5
2.6 电子商务简介...................................................................................................5
第三章 网上购物服务管理系统功能分析................................9
3.1 系统功能分析...................................................................................................9
3.2 可行性研究.....................................................................................................10
3.3 需求分析.........................................................................................................11
3.4 系统总体结构图.............................................................................................13
3.5 数据字典.........................................................................................................17
3.6 需求分析复审.................................................................................................17
3.7 总体 E-R 图 ....................................................................................................18
第四章 网上购物服务管理系统总体设计...............................19
4.1 系统功能设计目标.........................................................................................19
4.2 网上购物服务系统功能模块.........................................................................19
4.3 网上购物服务的体系结构.............................................................................21
第 五 章 数 据 库 设 计 ..............................................22
5.1 数据库系统概述.............................................................................................22
5.2 数 据 库 表 设 计 .........................................................................................22
第六章 程序设计...................................................26
IV
6.1 程序说明.........................................................................................................26
6.2 具体模块划分...............................................................................................26
第七章 软件安装与调试..............................................30
7.1 软件的安装与配置.......................................................................................30
7.2 软件调试.......................................................................................................30
7.3 软件测试.........................................................................................................31
第八章 结束语......................................................32
附 录..............................................................33
致 谢 ......................................................................................................................33
参考文献................................................................................................................34
部分源代码............................................................................................................34
1
第一章 绪论
1.1 目的和意义
本系统的设计目的是为了满足消费者只要通过互联网就可以足不出户的购买自己喜欢的
商品,改变传统商业交易,在互联网上进行交易,实现网上购买商品。为了实现上述目的,
我对网上购物服务系统有了深一步的了解,从而满足客户的要求,让他们可以随时找到自己
想要购买的商品。
本论文主要涉及软件,数据库与网络技术等。涵盖知识面广,可有效地提高消费者综合
运用所学知识分析解决问题的能力,增强消费者对事物的理解与掌握能力,培养消费者掌握
科学的研究方法,正确的设计思想,独立思考,勇于进取,探索创新,为今后进一步学习与
工作奠定了良好的基础。
1.2 开发设计思想
本系统用 JSP 语言来编写网上购物服务系统,数据库用 Mysql 来连接系统,通过编写
JavaBeans 来进行后台业务逻辑控制,即 JSP +JavaBeans + Mysql 三层模式完成整个设计工作。
本系统全部基于 Internet 网络,以 JSP 语言对网站进行开发,注重用户与网站的交互性。因此
在这样的背景下,针对当前 Internet 网络发展趋势来计网上购物服务系统就成为了当今应用软
件的首选体系结构。
1.3 开发目标
网上购物的优势在于选择面大、价格便宜、交易方便、节省时间和精力等。整个商品市
场一片繁荣。在中国,网上购物有发展的必要,也有发展的基础,发展网上购物的各方面条
件也日趋成熟,但是还存在一些问题,只有把问题解决好了,才能保证网上购物的蓬勃发展。