洛阳理工学院毕业设计(论文)
网上书店电子商务的设计与实现
摘 要
当今是飞速发展的信息时代,随着计算机网络的发展,网上购物已经在电子商务的过程中起着举足轻重的作用。通过网络可以了解丰富的商品信息,完善物流系统。和传统书店相比,网上书店让购物变得更加轻松,快捷。基于此背景下,网上书店的开发很有必要。
本文主要介绍了网上书店的系统的设计与实施步骤。本系统在对Jsp/Servlet的三层架构和MVC开发模式进行分析比较,研究了该网上系统的主要问题:如电子商务的基本知识,电子商务的设计与实现,以及电子商务的安全技术,以及电子商务网站的开发基本流程和所需要开发技术。已该系统开发为例,开发了一个网上书店系统,并对网点书店开发过程中遇到的问题进行了分析。
本文的主要工作是:
1.应用了MVC设计开发模式和JSP/Servlet 技术实现了基于B/S模式的三层架构的网上书店系统的实现。
2.研究了基于网上书店的数据库的设计与实现,以及整合数据库的访问操作完成了网上书店的购物车管理,订单管理,商品管理等功能。
该网上书店系统实现了MVC模式的开发,发挥了模式开发的优势。在软件开发中充分实现了高内聚,低耦合,提高了软件开发的效率,对于开发功能强大的网上书店电子商务系统具有理论和现实意义。
关键词:电子商务,网上书店,B/S,JSP,Servlet,MVC
I
洛阳理工学院毕业设计(论文)
Design and implementation of e-commerce online bookstore
Abstract
Today is the rapid development of the information age , with the development of computer networks , online shopping has played a pivotal role in the process of e-commerce . You can learn a wealth of product information through the network, improve the logistics system . Compared with traditional bookstores , online bookstores make shopping easier and faster. Based on this background , it is necessary to develop the online bookstore .This paper describes the design and implementation steps online bookstore system. This system of Jsp / Servlet MVC three-tier architecture and development model to analyze comparative study of the main problems of the web-based system : such as the basics of e-commerce, design and implementation of e-commerce, and e-commerce security technology, as well as the basic process of developing e-commerce sites and the need to develop technology. The system has been developed , for example, has developed an online bookstore, bookstore outlets and problems encountered in the development process were analyzed .The main work of this paper are:Application of MVC design patterns and develop JSP / Servlet technology to achieve the realization of three-tier architecture based on B / S mode online bookstore system.Studied the design and implementation of the operation based access online bookstore database, and completed the integration of databases online bookstore shopping cart management , order management , product management and other functions. The online bookstore MVC model development , model development has played an advantage . In software development to fully realize the high cohesion , low coupling , improving the efficiency of software development , for the development of a powerful e-commerce system online bookstore has theoretical and practical significance.
KEY WORDS : e-commerce, online bookstore , B / S, JSP, Servlet, MVC
II
洛阳理工学院毕业设计(论文)
目 录
第1章 绪论...........................................................................................1
1.1 网上书店的研究背景和意义 .....................................................1 1.2 国内外研究动态 ........................................................................1 1.3 论文的研究内容 ........................................................................2 1.4 论文的结构安排 ........................................................................3 第2章 系统实现技术的基本理论 .........................................................4
2.1 开发平台 ...................................................................................4
2.1.1 Eclipse ...............................................................................4 2.1.2 Oracle10g ..........................................................................4 2.1.3 Tomcat ...............................................................................4 2.2 相关技术 ...................................................................................5
2.2.1 Java语言的特点和优势.....................................................5 2.2.2 JDBC数据库访问技术 ......................................................6 2.2.3 JSP ....................................................................................7 2.2.4 Servlet ...............................................................................7 2.2.5 B/S ....................................................................................8 2.2.6 MVC设计模式..................................................................8 2.3 本章小结 ...................................................................................9 第3章 系统分析与设计 ......................................................................10
3.1 可行性研究..............................................................................10
3.1.1 技术可行性 ....................................................................10 3.1.2 经济可行性 ....................................................................10 3.1.3 操作可行性 .................................................................... 11 3.2 需求分析 ................................................................................. 11
3.2.1 用户需求分析................................................................. 11 3.2.2 功能需求分析................................................................. 11 3.3 系统功能设计 .......................................................................... 11
3.3.1 功能模块分析................................................................. 11
III
洛阳理工学院毕业设计(论文)
3.3.2 功能模块设计.................................................................12 3.4 数据库设计..............................................................................13
3.4.1 数据库分析 ....................................................................13 3.4.2 数据库概念结构设计 .....................................................13 3.5 本章总结 .................................................................................16 第4章 系统详细设计与实现...............................................................17
4.1 系统配置 .................................................................................17
4.1.1 硬件配置要求.................................................................17 4.1.2 软件配置要求.................................................................17 4.2 系统设计特点 ..........................................................................17
4.2.1 页面模块化 ....................................................................17 4.2.2 三层架构设计.................................................................18 4.2.3 面向对象的程序设计 .....................................................18 4.2.4 人性化设计 ....................................................................18 4.3 系统功能页面介绍 ..................................................................18
4.3.1 网站前台首页.................................................................18 4.3.2 用户登录首页.................................................................20 4.3.3 用户注册首页.................................................................22 4.3.4 用户购买图书界面 .........................................................24 4.3.5 网上书店后台界面 .........................................................28 4.4 本章小结 .................................................................................30 第5章 系统测试 .................................................................................31
5.1 软件测试介绍 ..........................................................................31 5.2 系统性能测试 ..........................................................................31 5.2.1 链接测试...............................................................................31 5.3 系统功能测试 ..........................................................................31 5.3.1 用户注册测试 .......................................................................31 5.3.2 用户登陆测试 .......................................................................32 5.4 本章小结 .................................................................................32 结 论 ..................................................................................................33
IV