网上商城系统设计与实现论文

  • 格式:doc
  • 大小:845.00 KB
  • 文档页数:35

网上商城系统

管理员子功能模块

学 院: 软件学院

专 业: 软件工程

指导教师:

2014年9月

网上商城系统管理员子功能模块

摘 要

21世纪以来,人类经济高速发展,人们的生活发生了日新月异的变化,特别是计算机的应用及普及到经济和社会生活的各个领域。为了让消费者网上购物过程变得简单、方便、安全、快捷,购物商城成了一种新型而热门的购物方式。购物商城系统是一种具有交互功能的商业信息系统,它在网络上建立一个虚拟的购物商城,使购物过程变得轻松、快捷、方便。

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

关键词:购物商城,S.S.H(Struts ,Hibernate ,Spring),JAVA ,JSP

Online Shopping System Administrator Function Modules

Abstract

Since twenty-first Century, the high-speed development of human economy, happened

to change rapidly changes to people's life, especially the application of computer and spread

to all fields of economic and social life. In order to allow consumers to online shopping

process becomes simple, convenient, safe, fast, shopping mall has become a popular new way

of shopping. Shopping mall system is an interactive function of the business information

systems, it is to build a virtual shopping mall in the network, so that the shopping process

easy, fast, convenient.

The contents of this graduation project is to design and implement a system of online

shopping based on Web technology, this system mainly uses j2EE as the basis of

development, the main use of the combined use of struts2+spring+hibernate and other

frameworks, MyEclipse as a development tool, MYSQL as the database, using Macromedia's

Dreamweaver as the interface landscaping tools, the use of JAVA language development take,

page development technology of JSP dynamic pages. The system has a simple interface, easy

operation, easy maintenance.

Keywords:Shopping mall,Struts,Hibernate,Spring,JAVA,JSP

第 Ⅰ 页 共 Ⅱ 页 目 录

1 绪论 .................................................................. 1

1.1 课题研究的背景 ....................................................... 1

1.2 课题研究的意义 ....................................................... 2

2 系统的开发环境及技术简介 ............................................... 3

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

2.1.1 MyEclipse .......................................................... 3

2.1.2 MySQL .............................................................. 3

2.1.3 Tomcat ............................................................. 4

2.2系统开发的思想与技术 .................................................. 4

2.2.1JSP技术与MVC模式以及系统的基本框架 ................................. 4

2.2.2 S.S.H框架的优点 .................................................... 5

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

3.1 总体功能模块 ......................................................... 6

3.2系统管理员的功能模块 .................................................. 6

3.3 系统业务描述 ......................................................... 6

4系统详细设计与实现 ...................................................... 7

4.1系统和数据库的配置 .................................................... 7

4.2概念模型设计 .......................................................... 8

4.3数据库逻辑模型 ........................................................ 8

4.4数据库表结构 .......................................................... 8

5系统功能实现 ........................................................... 13

5.1程序的类图 ........................................................... 13

5.1.1订单Dingdan类图 ................................................... 13

5.1.2订单条目Dingdanitem类图 ........................................... 14

5.1.3订单统计Tongjidj类图 .............................................. 14

5.1.4购物车Gouwuche类图 ................................................ 15

5.1.6商品Product类图 ................................................... 16

第 Ⅱ页 共 Ⅱ 页 5.1.7商品分类Cagegory类图 .............................................. 17

5.1.8商品统计Tongjiproduct类图 ......................................... 17

5.1.9收货信息Shouhuo类图 ............................................... 18

5.1.10用户User类图 ..................................................... 19

5.2程序部分时序图 ....................................................... 19

5.3系统功能实现的主要框架 ............................................... 20

5.3.1 SSH框架 .......................................................... 20

5.3.2 hibernate配置文件 ................................................ 20

5.3.3 struts配置文件 ................................................... 22

5.3.4 spring配置文件 ................................................... 22

5.4系统功能实现的主要模块 ............................................... 25

5.4.1 后台页面 .......................................................... 25