摘要 摘 要
电子商务是利用现代信息网络进行商务活动的一种先进手段,作为创新的经济运行方式,其影响己经远远超过商业领域。
针对当前蓬勃发展的电子商务浪潮,本文从理论和实践两个角度出发,对电子商务进行了深入的探讨。论文构建一个电子商务应用系统—网上书店。
本系统是一个基于Internet,采用B2C(Business to Consumers)模式,并根据现有的网上购物系统的现状而设计开发的电子商务平台。它不但可以扩大商家的规模和市场影响力,而且可以减少企业的经营成本,提高工作效率。
本文首先介绍了网上购物系统的现状及开发背景,然后论述了系统的设计目标,系统需求和总体设计方案,较详细的论述了系统的详细设计和实现。最后,本文对网上购物系统进行了系统检测并提出了还需要改进的问题。
本系统主要为用户提供了会员注册,购物车管理,商品搜索,用户资料修改等功能,为管理员提供了商品管理,用户信息管理,订单管理等功能。在设计方面,本系统采用B/S三层结构,同时使用JSP技术进行动态页面的设计,从系统的安全性和代码的可重用性方面考虑,运用JavaBean对程序的关键代码进行封装。后台数据库选用Mysql数据库。
关键词:电子商务 应用系统 JSP MySQL Tomcat CSS HTML
I
青岛恒星职业技术学院毕业论文(设计) ABSTRACT
With the rapid development of computer technology, a computer application in business management in the popularity of computer personnel management of enterprises is imperative.
The system combines the company's actual personnel management system, through the actual needs analysis, using the powerful JSP6.0 and Mysql as a development tool and developed a stand-alone version of the personnel management system.
The entire system from the line with simple, user-friendly, flexible, practical and security requirements proceed to complete the entire process of personnel management, including new employees to join the establishment when the personnel files, the old roll-out of employees, job changes and other information caused by workers changes to employee information query, statistics, etc.
personnel management as well as budding new member of the old staff changes and other management work. After the actual use of evidence, this article is designed to meet the company's personnel management system, personnel management needs.
With the gradual popularization of the network, campus network construction is the school to the inevitable choice for the development of information technology, campus network system is a very large and complex system, it not only for modern teaching,
integrated information management and office automation applications such as a series of provide basic operating platform
Abstract :JSP MySQL Tomcat CSS HTML
II
目录 目录
摘 要 .............................................................................. I ABSTRACT ........................................................................... II 目录 .............................................................................. III 前言 ................................................................................ 1 第一章 网上书店系统概述 ............................................................. 1 1.1 系统开发背景 .................................................................. 1 1.1.1网上购物的发展 ............................................................. 1 1.1.2网上购物系统实现的现状 ..................................................... 1 1.2系统实现的目标 ................................................................. 1 1.3 系统开发的意义 ................................................................ 3 第二章 网上购物系统分析 ............................................................. 5 2.1网站的设计目标 ................................................................. 5 2.2网站的可行性分析 ............................................................... 5 2.3网站设计的特点 ................................................................. 5 2.4系统设计的总体规则 ............................................................. 6 第三章 网上书店系统的开发技术架构 ................................................... 5 第四章 系统的功能和流程分析 ......................................................... 7 4.1网站的功能分析 ................................................................. 7 4.2 系统流程分析 .................................................................. 7 4.2.1前台购物流程 ............................................................... 7 4.2.2注册功能流程 ............................................................... 8 4.2.3用户登录流程 ............................................................... 8 4.2.4图书/类别管理流程 .......................................................... 9 4.2.5购物车流程 ................................................................ 10 第五章 系统功能的具体实现 .......................................................... 11 5.1数据库的逻辑结构设计 .......................................................... 11 5.2 功能总体说明 ................................................................. 12 5.2.1 目录结构说明 ............................................................. 12 5.2.2 功能页面结构 ............................................................. 12 5.2.3 主要功能流程 ............................................................. 13 5.3各功能模块的实现 .............................................................. 14 5.3.1数据库连接模块(com.KeHuiBookShop.DB) .................................... 14 5.3.2设计模式的应用 ............................................................ 14
5.3.2.1业务逻辑DAO封装。 .............................................. 14
III
青岛恒星职业技术学院毕业论文(设计) 5.3.2.2单例模式 ........................................................ 14 5.3.2.3 模块的类设计 ................................................... 15
5.3.3 用户模块 ................................................................. 15
5.3.3.1 会员注册登录设计 ............................................... 16 5.3.3.2 后台会员管理设计 ............................................... 17
5.3.4 类别模块 ................................................................. 18
5.3.4.1 cno值计算 ...................................................... 18 5.3.4.2 类别的增删改查 ................................................. 19 5.3.4.3类别的前台展示 .................................................. 22
5.3.5 图书模块 ................................................................. 22
5.3.5.1 后台图书管理的基本操作 ......................................... 22 5.3.5.2 前台图书的展示 ................................................. 23
5.3.6 购物车模块 ............................................................... 23
5.3.6.1购物车的创建 .................................................... 23 5.3.6.2购物车的管理 .................................................... 24 5.3.6.3购物车的显示 .................................................... 24
5.3.7订单模块 .................................................................. 24
5.3.7.1 创建订单 ....................................................... 25 5.3.7.2 用户提交订单 ................................................... 25 5.3.7.3 后台订单管理 ................................................... 26 5.3.7.4用户查看订单 .................................................... 27
第六章 系统测试及难点分析 .......................................................... 28 6.1系统运行环境的搭建 ............................................................ 28 6.1.1 JAVA虚拟机的安装 ......................................................... 28 6.1.2 Tomcat环境搭建 ........................................................... 28 6.2 系统程序的安装和加载.......................................................... 28 6.2.1 文件的拷贝 ............................................................... 28 6.2.2 数据库的连接 ............................................................. 28 6.2.3 系统的性能分析 ........................................................... 29 6.3 系统中所存在的问题............................................................ 29 第七章 结束语 ...................................................................... 30 致谢 ............................................................................... 31 参考文献 ........................................................................... 32
IV

