基于web的网上商城设计与实现

  • 格式:docx
  • 大小:1.20 MB
  • 文档页数:38

下载文档原格式

  / 4
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

本科毕业设计(论文)

基于web的网上商城设计与实现

学生学院信息工程学院

专业计算机

年级班别20 级(1)班

学号

学生姓名

指导教师

20 年6月

摘要

进入信息社会以来,人们的生活发生了日新月异的变化,特别是计算机的应用、互联网技术的普及,使得社会经济和生活的各个领域发生了翻天覆地的变化。为了适应市场、适应经济前进的步伐,买家和商家都在努力积极地寻找一种能够带来高效率、低成本销售模式。随着新一轮的物价上涨,网上购物也日趋成为一种主流的购物方式,网上商城购物让消费者网上购物过程变得简单、方便、安全、快捷。网上商城购物系统是一种具有交互功能的商业信息系统。它在网络上建立一个虚拟的购物商城,使购物过程变得轻松、快捷、方便。根据需求,结合自身实际情况,本系统主要实现了书籍和数码产品的销售。

本次的系统采用了spring、hibernate和struts三个框架,在性能上保证了系统的稳定性,也提高了系统开发的效率;数据库方面采用了Mysql,能满足商城处理数据的要求。本系统共分两个部分:前台用户部分和后台管理部分。在前台用户部分中,包括用户在线注册、定购商品、浏览商品、查询商品信息等操作;后台管理部分包括:商品信息的管理、用户订单的管理、用户信息管理、类别管理和公告的发布。本文中所做的主要工作如下:(1)介绍了Java、Tomcat系统的一般原理;(2)阐述整系统结构及工作原理;分析了系统实现中的特殊性、难点和重点;(3)设计实现用户注册/登录、查询、购买;管理员对网站的系统管理;(4)进行测试并分析结果。

关键词:信息;互联网;Java;Hibernate;Struts;前台;后台

Abstract

Along with the gradual formation of a market economy,globalization, the economy has developed rapidly in China. P eople’s life greatly changed, especially the application and popularation of computers in nearly every field of economy and social life. For this reason, shopping online is getting a new-fashioned and popular shopping way. In order to adapt to the market to adapt to the pace of growth of our economy, buyers and busi nesses are working actively to find a way to bring high efficiency, low cost sales model. The shopping online system, which is a kind of business information system with the function of interaction, establishes a dummy shopping market to make the purchase process becoming more and more convenient.In this system,it sells digital products and books only according the actually requirements.

To develop a effective system,i use two freamwork ,there are spring,struts and hibernate. As the part of database,i choose Mysql.The whole system is divided into two parts,there are pages of products and background.The main work in this text is as follows:First,to introduct the theory of Java and Tomcat;Second,elaborate the whole system structure and the work principle of the whole characteristic pages boring system; Analyzing the special、difficulty、and the key point in the realization of the system;Third,design to carry out the customer registration, searching, shopping; The system management to the website by administrator; The characteristic page dynamic state is born- return to show to the procedure mold piece; Analyze and resolve some technique problem in the implementation; Last,establish the whole experiment website; carry on the test and to analysis the result.

Key words: computers;shopping online;Java ;Hibernate;Struts;

目录

1 绪论 (1)

1.1 研究背景 (1)

1.2 目前网上购物发展现状 (1)

1.3 本文研究的目的和内容 (2)

1.4 系统开发环境 (3)

2 需求分析 (5)

2.1 系统概述 (5)

2.2 需求分析 (5)

2.2.1 功能需求 (6)

2.2.3 业务流程图 (6)

3 总体设计 (10)

3.1 系统总体设计 (10)

3.2 数据库设计 (12)

3.2.1 数据库设计概要 (12)

3.2.2 数据分析 (12)

3.2.3 ER图设计 (13)

3.3 详细设计 (14)

3.3.1 技术介绍 (14)

(1)Java (14)

(2)Hibernate框架的介绍 (17)

(3)Struts框架的介绍 (17)

(4)Tomcat的介绍 (18)

3.3.2 系统主界面 (19)

3.3.3 用户登录 (19)

3.3.4 用户注册 (20)

3.3.5 购物车模块、下单模块 (21)