电子商务网站毕业设计报告 - 图文 下载本文

内容发布更新时间 : 2024/11/10 8:17:05星期一 下面是文章的全部内容请认真阅读。

基于网络的图书销售系统

摘 要

随着 Internet 的飞速发展,电子商务在经济领域将会扮演越来越重要的角色。网上购物不仅受到年轻人的青睐,而且越来越多的中老年人也开始接受网络购物。现今如当当网、亚马逊等网上书店应需而出,不仅成为读者们新的购买渠道,而且也形成了一个新的消费观念。这种网上书店的出现离不开网络技术的发展,消费者在网上选择自己需要的书籍,通过网银或者其他网上支付的方式来付款,这些功能都是依靠计算机技术和通讯技术来完成的。

本设计主要介绍了网上书店的使用方法,然后描述了系统的原理和实现系统所用到的工具,包括 JSP 、Dreamweaver MX 、MySQL、JSON,最后进入实现部分,简介了系统的需求分析和具体实现,详细介绍了购物流程和购物过程的数据流,正文详细的描述了实现网上书店系统的解决方案。

本系统是基于 Java EE SSH技术的、有关于网上购书的一个交换平台,主要实现的功能模块有用户登录模块、商品查询模块、分页处理模块、购物车处理模块、订单处理模块等,以数据为中心模型,经过了大量的测试来验证本系统的安全可靠性以及解决相应问题的能力。

关键词:网上书店,JSP,Java EE SSH,电子商务

Online book store system

ABSTRACT

With the rapid development of Internet, e-commerce in economic field will play an

increasingly important role. Internet shopping is not only the favour of young people, more and more people began to accept in shopping network. Recently, such as dangdang.com and remarkable network of online bookstore, not only should be to become new purchase channel, and sensibility and formed a new consumption idea, in order to appear this kind of online bookstore without the development of network technology. Consumers through on the web to choose their books, through the e-

currency payment or other online payment on the way, computer technology and communication technology to finish this function.

This paper is mainly on the design in detail, the use of online bookstore is introduced firstly, and then describes the method of system principle and realization of tools used by system including the JSP, Dreamweaver MX, MySQL, Json, Final part of the system,and realization of needs analysis and realization, detailed introduces the shopping process and shopping process data flow, Text a detailed description of the realization of online bookstore system solutions.

This system is based on Java EE SSHtechnology exchange platform for online bookstores, and main function modules are user login module, commodity inquiry module, paging processing module, shopping cart processing module, order processing module based on several major modules, data center, through a model of this system is tested safe,reliable and can solve the corresponding problems.

Key Words: Online bookstore,JSP, Java EE SSH,E-commerce

目 录

第一章 绪论 ........................................................................................................................... 1

1.1 1.2 1.2.1 1.2.2 1.3 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.1 3.2 3.2.1 3.2.2 3.3 3.3.1 3.3.2 3.3.3 3.4 3.4.1 3.4.2

选题背景及意义......................................................................................................... 1 国内外发展情况......................................................................................................... 1 国内发展情况 ......................................................................................................... 1 国外发展情况 ......................................................................................................... 2 主要研究内容............................................................................................................. 3 开发环境..................................................................................................................... 4 服务器软件环境 ..................................................................................................... 4 服务器硬件环境 ..................................................................................................... 4 开发机器软件环境 ................................................................................................. 5 开发机器硬件环境 ................................................................................................. 5 技术架构综述............................................................................................................. 5 表现层 ..................................................................................................................... 5 业务层 ..................................................................................................................... 5 数据访问层 ............................................................................................................. 6 采用MVC模式 ...................................................................................................... 7 WEB层框架Struts ................................................................................................. 7 持久层框架Hibernate ............................................................................................ 8 系统需求................................................................................................................... 10 功能需求................................................................................................................... 10 功能设想 ............................................................................................................... 10 实现功能: ........................................................................................................... 10 性能需求................................................................................................................... 11 响应时间 ............................................................................................................... 11 稳定性 ................................................................................................................... 11 安全性 ................................................................................................................... 11 运行需求................................................................................................................... 11 硬件需求 ............................................................................................................... 11 软件需求 ............................................................................................................... 11

第二章 开发环境 .................................................................................................................. 4

第三章 需求分析 ................................................................................................................ 10

第四章 总体设计 ................................................................................................................ 12

4.1 4.2 4.2.1 4.2.2 4.2.3 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.2 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 6.1 6.1.1 6.1.2 6.1.3 6.1.4 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.3 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5

系统架构................................................................................................................... 12 系统数据库设计....................................................................................................... 13 数据库需求 ........................................................................................................... 13 数据库逻辑设计 ................................................................................................... 13 数据库E-R图 ....................................................................................................... 14 前台模块功能详细设计........................................................................................... 16 游客注册功能实现 ............................................................................................... 16 游客/会员搜索功能实现 ...................................................................................... 18 游客/会员购物车功能实现 .................................................................................. 20 会员登录功能实现 ............................................................................................... 22 会员留言评价功能实现 ....................................................................................... 24 后台模块功能详细设计........................................................................................... 25 管理员登录管理功能实现 ................................................................................... 25 书籍管理功能实现 ............................................................................................... 26 订单管理功能实现 ............................................................................................... 28 管理员管理功能实现 ........................................................................................... 30 网站基本信息管理功能实现 ............................................................................... 32 集成测试................................................................................................................... 35 测试内容 ............................................................................................................... 35 测试要求 ............................................................................................................... 35 进入准则 ............................................................................................................... 35 退出准则 ............................................................................................................... 35 压力测试................................................................................................................... 36 测试内容 ............................................................................................................... 36 测试要求 ............................................................................................................... 36 进入准则 ............................................................................................................... 36 退出准则 ............................................................................................................... 36 重点功能测试用例及结果....................................................................................... 37 图书搜索 ............................................................................................................... 37 将书籍加入购物车 ............................................................................................... 38 会员留言 ............................................................................................................... 39 添加书籍 ............................................................................................................... 40 审核订单 ............................................................................................................... 41

第五章 详细设计 ................................................................................................................ 16

第六章 系统测试 ................................................................................................................ 35

结 束 语 ............................................................................................................................... 43 参考文献 ............................................................................................................................... 44 附 录 ............................................................................................................................... 45 致 谢 ............................................................................................................................... 49