嘉 应 学 院
毕 业 论 文
题目: Eportal 电子商城
(2011)
学 院 计算机学院
专 业 计算机科学与技术
学生姓名 周浩杰
学 号 2071111119
导师姓名 陈伟君
2011 年 05 月 19 日
计算机学院本科毕业论文
I
摘要
随着计算机网络技术的飞速发展和人们生活节奏的不断加快,电子商务技术已经逐渐
融入了人们的日常生活当中,网上购物作为电子商务最普遍的一种形式,被大众逐渐接受。
本文所讨论的就是一个功能较为完备、可自主管理的网上购物电子商城系统的设计与实现。
本文首先提出网上购物流程和网上管理业务的需求以及特点,将主要的业务流程归纳
出来,为系统设计做好准备。由于网上购物电子商城系统业务灵活多变、业务并发量大、
处理要求种类繁多,本文都针对这些特点提出了相应的解决方案。
本系统采用 MVC 三层架构设计模式,逻辑层开发基于 J2EE 平台,采用 struts 框架开
发,结合 tomcat WEB 服务器,表现层采用 B/S 结构,使用 strutsTaglib+JSP 进行页面呈现,
使用 Hibernate 第三方框架对数据进行持久化并使用 Mysql 作为数据库组件。表现层采用
B/S 结构,实现了批量处理、报表打印、特定格式业务数据文件等方式来实现网上购物和
网上管理的业务功能,同时也保证了系统运行的稳定性,达到了系统运行的性能要求。在
对整体系统设计与实现的基础上,本文进一步分析了系统关键模块的业务流程,研究了系
统业务建模的过程,在分析过程中引进了设计模式的方法,并根据系统的业务需求提炼实
体和业务模型之间的关系,使之可以更好的实现系统的运营,并便于系统的二次开发。
最后,本文提出了对该系统的测试过程,尤其是在功能测试方面采用黑盒测试模式和
边界测试方法,通过模拟各种异常数据的输入,查找系统可能存在的问题,确保该系统实
现功能的准确性、规范性、稳定性能够达到预期效果。最后在总结该系统实现的基础上,
对下一步工作提出新的展望。
关键词 J2EE,电子商城,Mysql 数据库,B/S 结构
Eportal 电子商城
II
Abstract
With the rapid development of computer network technology and the accelerating pace of
people's lives, e-commerce technology has been gradually integrated into people's daily life, the
most popular online shopping as a form of e-commerce, is the public gradually accepted.
Discussed in this article is a function of more complete self-management of online shopping can
be e-mall system design and implementation.
This paper proposed shopping online management business processes and requirements and
features, will be summarized from the main business processes, to prepare for the system design.
As online shopping e-mall systems business flexibility, business concurrent capacity, a wide
range of processing requirements, this paper these characteristics are presented for the
corresponding solutions.
The system uses a three-tier MVC design pattern, logical development based on J2EE
platform, using struts framework development, combined with tomcat WEB server, the
presentation layer using B / S structure, using strutsTaglib + JSP for page rendering, use the
Hibernate framework for third-party data be persistent and use Mysql as the database component.
Presentation by B / S structure, to achieve a batch processing, report printing, business-specific
format data files, etc. to achieve the management of online shopping and online business
functions, but also ensure the system stability, to the performance of the system operation
requirements. In the overall system design and implementation, based on further analysis of this
key module of the system's business processes, business modeling of the process of the system,
introduced in the analysis method of design patterns and business needs based on refining the
system entities and the relationship between the business model, so that we can better achieve
the operation, and to facilitate the secondary development of the system.
Finally, this paper presents a test of the system, especially in the functional testing and
boundary testing mode using black box testing method, by simulating a variety of abnormal data
input, to find possible problems the system to ensure implementation of the system function
accuracy, standardization, stability to achieve the desired results.
Keywords : j2EE mysql e-mall systems MVC
计算机学院本科毕业论文
III
目 录
摘要 ...............................................................................I
目 录 ...........................................................................III
第一章 概述 ........................................................................1
1.1 系统设计的背景 .............................................................1
1.2 电子商城在国内的发展状况 ...................................................2
1.3 网络开发技术的分析 .........................................................2
1.4 课题任务 ...................................................................3
第二章 技术背景 ....................................................................4
2.1 JSP 简介 ....................................................................4
2.2 JAVASCRIPT 简介 ...............................................................4
2.3 MYSQL 简介 ..................................................................5
2.4 MYECLIPSE 简介 ...............................................................6
2.5 TOMCAT 简介 ..................................................................6
2.6 STRUTS HIBERNATE 简介 .........................................................6
第三章 需求分析 ....................................................................8
3.1 技术可行性分析 .............................................................8
3.2 经济可行性分析 .............................................................8
3.3 操作可行性 .................................................................8
3.4 法律可行性 .................................................................8
3.5 系统功能需求 ...............................................................9
3.6 系统性能需求 ..............................................................11
3.6.1 精度 ..................................................................11
3.6.2 时间特性要求 ..........................................................11
3.6.3 灵活性 ................................................................11
3.7 系统运行要求 ..............................................................11
第四章 系统设计 ...................................................................13
4.1 总体设计 ..................................................................13
4.1.1 项目规划 ..............................................................13
4.1.2 系统功能结构图 ........................................................13