毕业设计(论文)
设计题目:网上书店系统设计与实现
---订单管理
专业 : 网络工程 班级 : 08-2班 设计人 : 赵国伟
山东科技大学
2012年6月15日
摘要
网络的发展,刺激了新技术的诞生。其中JAVA技术是比较突出的,它一出现便立刻引起了人们的关注。JAVA语言的各种特点:简单的语法、完全的面向对象的机制、跨平台、完善的技术体系等等使得它在企业应用、网络的应用程序的开发等诸多领域都占据了主导的地位。因此,JAVA是一项非常具有吸引力的先进的技术。
设计主要采用JSP(Java server pages)技术,并综合相关的Java技术,数据库技术和软件工程的理论。在整个开发的过程中,需要充分的发挥自己的能力,包括学习能力、成员间的协作能力和个人独立解决问题的能力。因此,我们觉得这个项目无论是对我们自己还是作为以后的参考资料,都十分的有意义。
本文以“网上书店”的制作过程为例,以设计为主,介绍了网上书店的整体开发技术的考虑和选择、网上书店的框架设计、原型开发及其具体设计、网站的部分代码开发等内容;以及开发过程中开发工具的使用心得、编码心得。
关键字:软件工程,JAVA,JSP,E-R图,原图
1
Abstract
With the development of Network, stimulate the birth of the new technology. JAVA technology is more prominent, it appeared that immediately attracted attention. The various characteristics: the simple syntax of the JAVA language, fully object-oriented mechanism, cross-platform, improve the technical system and so makes it hold a dominant position in many fields of enterprise applications, network application development. JAVA is a very attractive advanced technology.
Designed using JSP (Java server pages) technology, and integrated related to Java technology, database technology and software engineering theory. Throughout the development process, need to fully exert their abilities, including learning ability, ability and personal collaboration between members of the independent ability to solve problems. Therefore, we think this project is whether our own or as a later reference, are very meaningful.
This article introduce how to select the developing technology, the bookstore’s frame design, prototype’s developing and particularly design and the developing of code; besides, including how to use developing tools’ and what have I learned during the course of develop. In a word , primary on design.
Prototype
2
Key Words: Software Engineering, Java server pages, Java,
目 录
第1章 绪论 ..................................................................................................... 6
1.1研究的目的和意义 ..................................................................................... 7 1.2研究内容及历史形势 ................................................................................. 7 1.3国际当前趋势 ............................................................................................. 8 1.4论文组织 ..................................................................................................... 8
第2章 需求分析 ............................................................................................ 9
2.1系统用户 ..................................................................................................... 9 2.2系统功能需求 ............................................................................................. 9 2.3业务逻辑描述 ........................................................................................... 10
第3章 相关理论与技术 ............................................................................ 11
3.1系统架构 ................................................................................................... 11 2.1.1功能结构 ............................................................................................ 11 3.1.2系统架构 ............................................................................................ 12 3.2主要实现技术 ........................................................................................... 12 3.2.1 MVC简介 .......................................................................................... 12 3.2.2表现层主要实现技术 ........................................................................ 13 3.2.3控制层主要实现技术 ........................................................................ 14 3.2.4持久层主要实现技术 ........................................................................ 16 3.3数据库设计 ............................................................................................... 16
第4章 概念结构设计与具体实现 ......................................................... 23
4.1局部视图 ................................................................................................... 23
3
4.2 视图集成 .................................................................................................. 24 4.2.1 总体结构 ............................................................................................ 24 4.3具体实现 ................................................................................................... 25
4.3.1订单确认 ....................................................................................... 26 4.3.2填写送货地址 .................................................................................... 27 4.3.3提交订单 ............................................................................................ 28
第5章 展示与测试 ..................................................................................... 30
5.1展示 ........................................................................................................... 30 5.1.1 首页 ................................................................................................... 30 5.1.2 用户登录与注册模块 ....................................................................... 31 5.1.3购物车 ................................................................................................ 32 5.1.3.1添加图书到购物车 .................................................................... 32 5.1.3.2购物车商品数量修改 ................................................................ 32 5.1.3.3 购物车删除图书条目 ............................................................... 33 5.1.3.4 购物车恢复图书条目 ............................................................... 33 5.1.4 订单 ................................................................................................... 34 5.1.4.1订单确认 .................................................................................... 34 5.1.4.1填写送货地址 ............................................................................ 34 5.1.5图书分类浏览 .................................................................................... 35 5.1.6图书详情 ............................................................................................ 36 5.2测试 ........................................................................................................... 36 5.3.1 测试概述 ........................................................................................... 36 5.3.2 测试用例 ........................................................................................... 36 5.3.3测试结果 ............................................................................................ 37
4