计算机专业本科毕业论文 - 图文 下载本文

网上珠宝店的设计与实现

摘 要

21世纪以来,人类经济正在快速的发展着,人们的生活正在发生质的变化,尤其是是计算机的应用以及普及到我们生活的各个领域。为了使顾客在网上珠宝商店购物中变得更加方便、简捷、迅速、有保障,网上购物在现代化城市中变成了一种大众化的购物行为。购物商城系统是一种交互性极强的商业信息采集系统,它在网络上设计了一个虚拟现实的购物商场,使购物过程变得愉快、轻松、快捷、方便、容易。

从长期的战略目标来说,珠宝首饰在线销售网站不仅是珠宝首饰和服务的推广,而是通过Internet、企业内部网和企业外部网,将买家与卖家、厂商和合作伙伴紧密结合在了一起,因而消除了时间与空间带来的障碍。

我的毕业设计的具体内容是设计并且实现一个基于在web的网上购物系统,这个网上珠宝购物系统主要用j2EE作为开发基础的,主要使用了struts2+spring+hibernate等多种框架的结合使用,用eclipse作为开发工具,以MYSQL作为数据库,以Macromedia公司的Dreamweaver作为界面美化工具,使用JAVA语言开发,页面采取JSP动态页面开发技术。该系统界面简单、操作方便,容易维护。

关键词:珠宝首饰;在线销售;订单处理;

1

The Design And Implementation Of Online Jewelry Store

ABSTRACT

Since twenty-first Century, human economy is developing rapidly, people's lives are changing, especially the application of computers and the popularization of all areas of our lives. In order to make the customers shopping in the online jewelry store become more convenient, simple, rapid and secure, online shopping in a modern city into a popular shopping behavior. Shopping mall system is a highly interactive business information collection system, it designed a virtual reality shopping mall on the network, so that the shopping process is pleasant, easy, fast, convenient and easy.

From the long-term strategic objectives, jewelry online sales site is not only the promotion of jewelry and services, but by Internet, intranet and extranet, the buyers and sellers, manufacturers and partners closely together, thus eliminating the obstacles of time and space. I graduated from the design of the specific content is to design and implement a based on web shopping system, the online jewelry shopping system mainly uses J2EE as a basis for the development of, the main use of the combination of struts2+spring+hibernate and other frameworks, using eclipse as development tools, MySQL as the database, using Macromedia Dreamweaver as interface landscaping tools, the use of Java language development page take the JSP dynamic web development technology. The system interface is simple, easy to operate, easy to maintain.

Key words: jewelry; online sales; order processing;

2

目录

摘 要 ................................................................... 1 ABSTRACT ................................................................. 2 1 绪 论 ................................................................. 5

1.1 课题研究的背景 .................................................... 5 1.2 课题研究的意义 .................................................... 6 2 系统的开发环境及技术简介 ............................................... 7

2.1 系统开发环境 ..................................................... 7

2.1.1 Eclipse ..................................................... 7 2.1.2 数据库简介 .................................................. 7 2.1.3 Tomcat ...................................................... 8 2.2系统开发的思想与技术 .............................................. 8

2.2.1JSP技术与MVC模式以及系统的基本框架 .......................... 8 2.2.2 S.S.H框架的优点 ............................................. 9

3 系统总体设计 .......................................................... 11

3.1 总体功能模块 ..................................................... 11 3.2系统管理员的功能模块 ............................................. 11 3.3用户功能模块 ..................................................... 12 3.4 系统业务描述 ..................................................... 12 3.5 程序流程图 ....................................................... 13 4 系统详细设计 ......................................................... 14

4.1系统和数据库的配置 ............................................... 14 4.2概念模型设计 ..................................................... 14 4.3数据库逻辑模型 ................................................... 15 4.4数据库表结构 ..................................................... 20 4.5平台数据表的设计 ................................................. 22 5 系统功能实现 ......................................................... 31

5.1程序的时序图 ..................................................... 31

5.1.1 订单模块时序图 ............................................. 31

3

5.1.2 订单条目模块时序图 ......................................... 31 5.1.3 订单统计模块时序图 ......................................... 32 5.1.4 购物车模块时序图 ........................................... 32 5.1.5 评价模块时序图 ............................................. 33 5.1.6 商品分类模块时序图 ......................................... 33 5.1.7 商品模块时序图 ............................................. 34 5.1.8 商品统计模块时序图 ......................................... 34 5.1.9 收货模块时序图 ............................................. 35 5.1.10 用户模块时序图 ............................................ 35 5.2系统功能实现的主要框架 ........................................... 36

5.2.1 SSH框架 ................................................... 36 5.2.2 hibernate配置文件 ......................................... 36 5.2.3 struts配置文件 ............................................. 37 5.2.4 spring配置文件 ............................................ 39 5.3.1 网站页面 ................................................... 41 5.3.2 用户注册页面 ............................................... 42 5.3.3 购物车 ..................................................... 44 5.3.4管理后台页面 ................................................ 45 5.3.5商品分类列表页面 ............................................ 46 5.3.6 商品信息管理页面 ........................................... 48 5.3.7 订单管理页面 ............................................... 49 6.1软件测试的目的 ................................................... 50 6.2软件测试的任务 ................................................... 50 6.3测试环境 ......................................................... 50

6.4.1 创建安装项目 .............................................. 51 6.4.2 添加项目输出 .............................................. 52 6.4.3 运行项目 .................................................. 52

参考文献 ................................................................ 53 致 谢 .................................................................. 54 附 录 .................................................................. 55

4