![](https://csdnimg.cn/release/download_crawler_static/87965998/bg1.jpg)
1
基于 java 的购物商城设计与实现
Design and implementation of shopping mall based
on java
内容摘要
目前,互联网快速的发展,各行各业都正在慢慢转型,传统的服
务业,制造业等也离不开互联网的发展。其中零售业的发展更加依赖
互联网的快速,网络购物商场的出现,方便了人们对于购买到好产品
的方式,人们足不出户就能买到来自世界各地的产品。这种购物商场
网站的发展,改变了传统的购物方式和人们一直以来的购物习惯。一
个购物平台的发展,是我们一直以来管理和研究的目标
![](https://csdnimg.cn/release/download_crawler_static/87965998/bg2.jpg)
2
本系统采用的是 Mysql 数据库,使用 JSP 技术开发,运行环境使
用 Tomcat 服务器,Eclipse 是本系统的开发平台。该网站的实现主要
包括用户、商家和管理员三个用户角色,由于系统用户角色不同所使
用的功能模块相应不同,管理员根据需求对系统功能模块进行维护管
理操作。在设计过程中,为了能让用户和管理员更好的使用体验,充
分考虑到了系统的良好实用性,可读性,简洁性等特点。操作简单的
同时,各项功能都能正常使用。
关键词:购物商城 JSP Mysql Eclipse
![](https://csdnimg.cn/release/download_crawler_static/87965998/bg3.jpg)
3
Abstract
Nowadays, a lot of walks are slowly transforming because of the
Internet development. The traditional service industry and manufacturing
industry are also can’t do without the Internet development.Among them,
the retail industry is more dependent on the rapid the Internet development.
The emergence of online shopping malls facilitates the way for people to
buy good products. People can buy products from all over the world
without leaving home. People changed shopping methods because of the
websites development.The development of a platform is the goal of our
management and research
The system uses Mysql database.Using JSP technology development.
And running environment is using Tomcat server. Eclipse is the
development platform of the system.The realization of the website mainly
includes the user, the business and the administrator three user roles. The
system user role of the use of different function modules are different. The
administrator according to the needs of the system function module
maintenance management operations.In the design process, in order to
make users and administrators better use experience, fully consider the
system's good practicability, readability, simplicity and other characteristics.
While the operation is simple, each function can be used normally.
Keywords: shopping mall JSP Mysql Eclipse
![](https://csdnimg.cn/release/download_crawler_static/87965998/bg4.jpg)
4
目录
第 1 章 绪论 ................................................ 1
1.1 背景及意义 .......................................... 1
1.2 国内外研究概况 ...................................... 1
1.3 研究的内容 .......................................... 2
第 2 章 相关技术 .......................................... 3
2.1 JSP 技术介绍 ........................................ 3
2.2 JAVA 简介 ........................................... 3
2.3 Eclipse 开发环境 .................................... 4
2.4 Tomcat 服务器 ....................................... 4
2.5 MySQL 数据库 ........................................ 4
第 3 章 系统分析 .......................................... 6
3.1 需求分析 ............................................ 6
3.2 系统可行性分析 ...................................... 6
3.2.1 技术可行性技术背景 ............................. 6
3.2.2 经济可行性 ..................................... 7
3.3 项目设计目标与原则 .................................. 7
3.3.1 关于购物商场网站的基本要求 ..................... 7
3.3.2 开发目标 ....................................... 7
3.3.3 设计原则 ....................................... 7
3.4 系统流程分析 ........................................ 8
3.4.1 操作流程 ....................................... 8
3.4.2 添加信息流程 ................................... 8
3.4.3 删除信息流程 ................................... 9
第 4 章 系统设计 ......................................... 10
4.1 系统体系结构 ....................................... 10
4.2 开发流程设计 ....................................... 10
4.3 数据库设计原则 ..................................... 11
4.3.1 管理员信息实体属性 ............................ 12
4.3.2 商家信息实体属性 .............................. 12
4.3.3 商品信息实体属性 .............................. 12
4.3.4 用户信息实体属性 .............................. 13
4.4 数据表 ............................................. 13
第 5 章 系统实现 ......................................... 16
5.1 前台功能模块 ....................................... 16
![](https://csdnimg.cn/release/download_crawler_static/87965998/bg5.jpg)
5
5.2 登录功能模块 ....................................... 18
5.3 管理员后台功能模块 ................................. 19
5.4 商家功能模块 ....................................... 20
5.5 用户后台功能模块 ................................... 21
第 6 章 系统测试 ......................................... 23
6.1 测试定义及目的 ..................................... 23
6.2 性能测试 ........................................... 23
6.3 测试模块 ........................................... 23
6.4 测试结果 ........................................... 24
第 7 章 结 论 ........................................... 25
参考文献 ................................................ 26
致 谢 ................................................... 27