基于SSM的网上商城的设计与实现

 2022-10-27 11:10

论文总字数:25247字

摘 要

进入21世纪以来,国内不少商家以及企业相继尝试在网上通过网络进行产品的销售,网上购物和电子商务等一系列词汇开始被人们所认识。于是初步的网上购物就形成了,但是由于那时候互联网的不发达以及大部分客户顾客思想都还停留在实体店购物,同时也因为网络的发展局限性,仍有大部分人可能还未接触到网络,使得人们无法完全相信互联网的信誉,实体店购物还是作为绝大多数人消费的首选。网络的局限性、物流的不发达、人们的生活水平等一系列原因制约着电子商务和网上购物中心的发展速度。

但随着互联网的兴起和科学技术的不断发展,人们生活水平的提高,使得实体店购物方式不再满足人们的需求,计算机的普及增加了人们上网的机会。物流的发展解决了商家和顾客一直以来让人头疼的难题,网络的发展也使支付方式发生了很大的变化。从开始的现金支付到现在的网络支付,例如支付宝、信用卡,到现在的扫二维码支付无疑给人们的生活带来了巨大的方便。互联网和科技的不断进步让生产力得到巨大的发展,人们的生活水品得到提高,这一系列的因素无疑给电子商务,网上购物的快速发展带来了福音。但由于购物人数的增多,电子商务网站也面临着很大的挑战,在满足人们需求的同时为了提高用户体验技术也一直在改进。

针对上述问题,本系统采用了Spring、Spring MVC和Mybatis技术,实现了商城的前后端系统。为了解决并发量大的问题,系统也运用了分布式、集群 、负载均衡提高系统的开发速度和效率,在承载高并发的同时也提高了用户体验。

关键词电子商务;网上购物系统;分布式;集群;SSM

ABSTRACT

Since the beginning of the 21st century, many domestic businesses and enterprises have tried to sell products online through the Internet. A series of words such as online shopping and e-commerce have begun to be recognized. So the initial online shopping was formed, but since the Internet was underdeveloped and most of the customer's customers still stayed in the store, and because of the development limitations of the network, most people may not have been exposed. The network makes people unable to fully trust the credibility of the Internet, and physical store shopping is still the first choice for most people. A series of reasons, such as the limitations of the network, the underdevelopment of logistics, and the living standards of people, restrict the development speed of e-commerce and online shopping malls.

However, with the rise of the Internet and the continuous development of science and technology, people's living standards have improved, making the store shopping method no longer meet people's needs. The popularity of computers has increased people's access to the Internet.From the initial cash payment to the current online payment, such as Alipay, credit card, to the current scanning QR code payment has undoubtedly brought great convenience to people's lives. The continuous advancement of the Internet and technology has led to tremendous development of productivity and the improvement of people's living water. In order to meet people's needs, technology has also been improving in order to improve user experience.

In response to the above problems, the system uses Spring, Spring MVC and Mybatis technology to implement the front and back end of the mall. In order to solve the problem of large concurrency, the system also uses distributed, cluster, and load balancing to improve the development speed and efficiency of the system. It also enhances the user experience while carrying high concurrency.

Keywords: e-commerce; online shopping system; distributed; cluster; SSM

目 录

摘要 I

ABSTRACT II

第一章 绪论 1

1.1 课题研究背景 1

1.2 课题研究现状 1

1.3 课题研究意义 1

1.4 论文组织结构 2

第二章 技术选型和开发工具版本 3

2.1 技术选型 3

2.1.1 SSM框架的介绍 3

2.1.2 JSP、JSTL、EasyUI、KindEditor(富文本编辑器)构建前端展示技术 3

2.1.3 Redis(缓存服务器,单点登录,购物车) 4

2.1.4 SolrCloud(搜索) 4

2.1.5 Dubbo(分布式服务架构) 5

2.1.6 HttpClient(HTTP 协议访问客户端) 6

2.1.7 ActiveMQ(消息队列) 7

2.1.8 FreeMarker(网页静态化) 8

2.1.9 Nginx(反向代理服务器) 9

2.2 开发工具版本及环境 9

2.2.1 Eclipse Mars 9

2.2.2 Maven 3.6.0 9

2.2.3 Mysql 5.7 10

2.2.4 SVN 10

第三章 网上商城系统的分析 11

3.1 可行性分析 11

3.1.1 技术可行性 11

3.1.2 经济可行性 11

3.1.3 操作可行性 11

3.1.4 意见和建议 11

3.2 需求分析 11

3.2.1 任务需求 11

3.2.2 功能需求 11

第四章 网上商城系统的概要设计 13

4.1 系统架构设计 13

4.1.1 传统架构 13

4.1.2 分布式架构 14

4.1.3 本商城系统的架构 15

4.2 系统模块设计 15

4.2.1 系统功能模块结构图 15

4.2.2 系统流程图 17

4.3 系统模块功能描述 18

4.3.1 前台系统 18

4.3.2 后台系统 19

4.4 数据库的设计及应用 19

4.4.1 数据库的分析 19

4.4.2 数据库的概念结构设计 19

4.4.3 数据库的逻辑结构设计 25

4.5 系统功能综述 28

第五章 网上商城系统的详细设计与实现 29

5.1 前台系统功能的实现 29

5.1.1 门户展示系统 29

5.1.2 单点登录以及注册系统 29

5.1.3 搜索系统 30

5.1.4 商品详情页系统 31

5.1.5 购物车系统 32

5.1.6 订单系统 33

5.2 后台系统功能的实现 34

5.2.1 商品管理系统 34

5.2.2 内容管理系统 35

第六章 系统特色与展望 36

6.1 系统的特点 36

6.1.1 采用分布式架构 36

6.1.2 搭建集群 36

6.1.3 Maven管理项目 36

6.1.4 页面的可观性 36

6.2 系统的不足和改进方案 36

6.2.1 静态页面部分重复 36

6.2.2 系统的并发量 36

结束语 37

致 谢 38

参考文献 39

第一章 绪论

1.1 课题研究背景

21世纪以来,对于网络这个热词基本是人人皆知,并且网络的发展确实也给国家的科技水平的进步,人民生活质量的提高做出了巨大的贡献,互联网的发展大大提高了人民的生活水平,为了满足用户的需求,电子商务网站开始进入人们的视线,网上购物中心的优势使得传统的实体店购物面临着巨大的挑战。科技在进步,生活在提高,在网络的潮流下电子商务网站的兴起着实让现代社会生活水平上升了一个层次。

虽然电子商务的兴起大大提高了人们的生活水平。电子商务带来的效益和方便也人人可观,但电子商务仍处于形成的中期,有一个特点就是主要集中在那些大城市如北上广深,仍然有一定的局限性。在一些落后地区,人们仍然不能享受电子商务的好处。物流不能到达的地方仍不能给人们的生活带来提高。但相信在科技水平不断进步下,电子商务会给所有人带来前所未有的效益。

1.2 课题研究现状

互联网和科技的不断进步让生产力得到巨大的发展,人们的生活水品得到提高,网络的普及使得人们接触电子商务的机会越来越多,这一系列的因素无疑催生了电子商务网站的发展。都说把握住机遇,就把握住了未来,一些商家和企业都看到了电子商务带来的效益,于是纷纷怀着商机进入到电商行业当中。所以一些逐渐健全的商务模式例如京东的B2C模式,淘宝的C2C等模式相继出现并且被人们所熟知,使得电子商务平台之间竞争变得空前激烈,各种问题相继出现,电子商务网站也面临着很大的挑战。

剩余内容已隐藏,请支付后下载全文,论文总字数:25247字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;