毕 业 设 计(论 文)
题目:基于 java 的水果网上商城设计与实现
I
摘 要
使用旧方法对水果网上商城信息进行系统化管理已经不再让人们信赖了,把
现在的网络信息技术运用在水果网上商城信息的管理上面可以解决许多信息管
理上面的难题,比如处理数据时间很长,数据存在错误不能及时纠正等问题。
这次开发的基于 java 的水果网上商城有管理员和用户,管理员管理后台相
关信息,用户浏览器商品并且购买商品。管理员功能有个人中心,用户管理,供
应商管理,水果分类管理,水果信息管理,水果进货管理,销售统计管理,订单
评价管理,系统管理,订单管理等。用户功能有注册登录,查看水果信息,水果
资讯,个人中心,购物车,订单评价,我的订单,我的地址,我的收藏等。经过
前面自己查阅的网络知识,加上自己在学校课堂上学习的知识,决定开发系统选
择 B/S 模式这种高效率的模式完成系统功能开发。这种模式让操作员基于浏览器
的方式进行网站访问,采用的主流的 Java 语言这种面向对象的语言进行基于
java 的水果网上商城程序的开发,在数据库的选择上面,选择功能强大的 MySQL
数据库进行数据的存放操作。
基于 java 的水果网上商城被人们投放于现在的生活中进行使用,该款管理
类软件就可以让管理人员处理信息的时间介于十几秒之间。在这十几秒内就能完
成信息的编辑等操作。有了这样的管理软件,水果网上商城信息的管理就离无纸
化办公的目标更贴近了。
关键词:基于 java 的水果网上商城;Java;MySQL;SSM 框架
II
Abstract
The use of the old method to systematically manage the information of the fruit online
store is no longer trusted by people. Applying the current network information
technology to the information management of the fruit online store can solve many
problems in information management, such as the long processing time for data. , The
data has errors and cannot be corrected in time.
The java-based fruit online store developed this time has administrators and users.
The administrator manages background information, and users browse products and
purchase products. Administrator functions include personal center, user management,
supplier management, fruit classification management, fruit information management,
fruit purchase management, sales statistics management, order evaluation
management, system management, order management, etc. User functions include
registration and login, viewing fruit information, fruit information, personal center,
shopping cart, order evaluation, my order, my address, my collection, etc. After the
network knowledge I checked before, plus the knowledge I learned in the school
classroom, I decided to choose the B/S mode as a high-efficiency mode for the
development system to complete the system function development. This mode allows
the operator to visit the website based on the browser. The mainstream Java language,
an object-oriented language, is used to develop the Java-based fruit online store
program. In the selection of the database, choose the powerful MySQL database.
Perform data storage operations.
The java-based fruit online store is used by people in their daily lives. This
management software allows managers to process information within a dozen seconds.
Information editing and other operations can be completed within these ten seconds.
With this kind of management software, the information management of the fruit
online store is closer to the goal of paperless office.
Key Words:Java-based fruit online shopping mall; Java; MySQL; SSM framework
III
目 录
1 绪论 ...............................................1
1.1 研究背景 .........................................................................................................1
1.2 目的和意义 ......................................................................................................1
1.3 论文结构安排 .................................................................................................2
2 相关技术............................................3
2.1 SSM 框架介绍 .................................................................................................3
2.2 B/S 架构介绍 ...................................................................................................3
2.3 MYSQL 数据库介绍........................................................................................4
2.4 JAVA 语言介绍 ...............................................................................................5
3 系统分析............................................6
3.1 系统可行性分析 ..............................................................................................6
3.1.1 技术可行性分析 ..................................................................................6
3.1.2 经济可行性分析 ..................................................................................6
3.1.3 运行可行性分析 ..................................................................................6
3.2 系统性能分析 ..................................................................................................7
3.2.1 系统安全性 ..........................................................................................7
3.2.2 数据完整性 ..........................................................................................7
3.2.3 系统可扩展性 .......................................................................................8
3.3 系统流程分析 ..................................................................................................8
3.3.1 系统登录流程 .......................................................................................9
3.3.2 信息添加流程 .....................................................................................10
3.3.3 信息删除流程 .....................................................................................10
4 系统设计...........................................12
4.1 系统概要设计 ................................................................................................12
4.2 系统功能结构设计 ........................................................................................12
IV
4.3 数据库设计 ....................................................................................................13
4.3.1 数据库 E-R 图设计.............................................................................13
4.3.2 数据库表结构设计 ............................................................................14
5 系统实现...........................................21
5.1 前台首页 .......................................................................................................21
5.2 水果信息 .......................................................................................................21
5.3 水果购买 .......................................................................................................22
5.4 购物车 ...........................................................................................................22
5.5 订单支付 .......................................................................................................23
5.6 订单管理 .......................................................................................................24
5.7 用户管理 .......................................................................................................24
5.8 水果管理 .......................................................................................................25
5.9 销售统计 .......................................................................................................25
5.10 后台订单管理 .............................................................................................26
6 系统测试 ...........................................27
6.1 本系统测试 .................................................................................................27
6.1.1 登录功能测试 .....................................................................................27
6.1.2 修改密码功能测试 .............................................................................28
6.2 测试结果分析 ................................................................................................28
结 论...............................................29
参考文献.............................................31
致 谢...............................................32