摘 要
在互联网高速发展和巨大网民数量规模的背景下,我国网上商城存在巨大的发展潜力。开发食品团购系统迎合时代潮流,满足经济市场的需求。在未来几年内,在网上食品商城购物的方式将越来越受到人们的欢迎。不同的电商采用不同的经营模式,主要有C2C和B2C的经营模式,本系统的设计主要面对对象是消费者,因此采用B2C的经营模式。
本系统是基于Java/MySQL技术进行开发实现的JavaWeb项目,因此数据库后台采用MySQL数据库,开发还使用了Servlet和Jsp技术。本系统主要分为前台和后台的功能模块,使用表示层、逻辑层、数据层的三层架构模式来进行设计和实现。本文将对所涉及的技术进行介绍,进行需求分析说明,对系统进行详细的设计,然后说明实现方式,最后测试系统的可用性,稳定性等。本系统的主要目标是提供产品展示及产品的购买的功能,方便用户低价购买,实现消费者利益的最大化。
关键词:食品团购 网上商城 JavaWeb
ABSTRACT
Under the background of the rapid development of the Internet and the large number of large netizens, China's online shopping mall has great potential for development. The development of food group buying system caters to the trend of the times and meets the needs of the economic market. In the next few years, the way of shopping in the online food mall will be more and more popular. Different e-commerce companies adopt different business models, mainly C2C and B2C business models. The design of this system is mainly for consumers, so the B2C business model is adopted.
This system is a JavaWeb project developed based on Java/MySQL technology. Therefore, the database background uses MySQL database, and the development also uses Servlet and Jsp technology. The system is mainly divided into functional modules in the foreground and background, and is designed and implemented using a three-layer architecture mode of presentation layer, logic layer and data layer. This article will introduce the technology involved, carry out the requirements analysis, design the system in detail, then explain the implementation, and finally test the availability and stability of the system. The main goal of the system is to provide product display and product purchase functions, which is convenient for users to purchase at low prices and maximize consumer benefits.
Keywords : food group purchase online shopping JavaWeb
目 录
第一章 绪论 1
1.1 课题背景及意义 1
1.1.1 课题背景 1
1.1.1 课题意义 1
1.2 国内外食品团购现状与分析 2
1.3 可行性分析 3
1.3.1 社会可行性 3
1.3.2 技术可行性 3
1.3.3 操作可行性 4
1.4 论文完成的主要内容 4
1.5 论文章节安排 5
第二章 相关理论与技术 7
2.1 MYSQL介绍 7
2.2 SERVLET介绍 7
2.3 JSP介绍 8
2.4 C3P0介绍 8
2.5 QUERYRUNNER介绍 9
第三章 需求分析 11
3.1 整体功能需求 11
3.2 关键抽取 11
3.3 具体功能需求分析 12
3.3.1 前台功能需求 12
3.3.2 后台功能需求 14
3.4 用例规约分析 15
3.5 鲁棒分析 17
第四章 设计与实现 21
4.1 系统功能模块设计 21
4.1.1 前台模块设计 21
4.1.2 后台模块设计 22
4.2 数据库设计 23
4.2.1 概念模型设计 24
4.2.2 数据库表设计 27
4.2.3 表的关联关系图 29
4.2.4 数据字典 29
4.2.5 安全保密设计 30
4.3 系统的实现 30
4.3.1 显示首页的实现 31
4.3.2 搜索商品的实现 32
4.3.3 购物车管理的实现 34
4.3.4 后页面实现 35
第五章 系统测试 37
5.1 测试目的 37
5.2 测试方法 37
5.3 测试用例 38
5.4 测试用例统计 42
5.5 测试分析 43
5.5.1 测试信息 43
5.5.2 测试用例覆盖率统计 43
5.5.3 测试问题报告单表 43
5.5.4 本阶段产品发布质量说明 44
5.5.5 遗留缺陷说明 45
5.5.6 测试结果 45
5.5.7 测试总结 46
第六章 总结与展望 47
致谢 49
参考文献 51


























