毕业设计(论文)
I
摘 要
由于科技的发展,信息量的剧烈膨胀,企业要想适应信息社会迅猛发
展的浪潮,就必须借助于 Internet 构建新的运营模式,连锁超市已经成为很
多企业要采用的新模式。同时 J2EE 平台的产品几乎能够在任何操作系统和
硬件配置上运行,因此文中设计了一个基于 J2EE 架构的超市综合管理信息
系统。根据 J2EE 架构的多层应用程序方案和超市管理信息系统的特点,系
统采用以 Web 为中心的应用程序方案。该系统可以提高企业的整体运营速
度,给企业带来巨大的财富。
本网络超市综合管理信息系统的整体开发中尝试了当前最新的思路和
技术。系统框架设计采用了 MVC 模式思想,代码实现使用了 JSP+Java Bean
的网络编程技术,后台数据库是用 SQL Server 2000 对数据库进行管理。系
统有完善的信息管理功能,为商家建立一套科学管理流程。
本系统界面友好简洁,使用人员可以很快掌握,为系统管理人员带来
的方便快捷。
关键词 管理信息系统; MVC 模式; JSP; SQL Server 2000 数据库管理系统;
J2EE
毕业设计(论文)
II
Abstract
Because of the development of science and technology, the violent
inflation of the amount of information, enterprises want to adapt to the tide that
the information - intensive society develops rapidly, must structure the new
operation mode with the aid of Internet, the online shopping has already become
the new mode that a lot of enterprises have wanted to adopt. At the same time
the products in J2EE platform can nearly run on any operating system and
hardware disposition, so this text has designed a system of online shopping built
up on the basis of J2EE. According to the multi - layer application program
scheme of J2EE and systematic characteristic of shopping managerment, this
system adopts the application program scheme taking Web as the centre. The
system can greatly speed up the operation cycle, bring huge treasure to the
enterprise.
Have all tried present latest thinking and technology in whole development
of this system of shopping at network. Have designed and adopted MVC mode
thought in systematic frame; The code has realized using the network
programming technology of JSP +Java Bean; Backstage supporter's database
manages database with SQL Server 2000. The system has complete operating
and management which set up a set of scientific management procedure for the
trade company.
Systematic interface this friendship succinct, use personnel can master
quickly, which make shopping managerment employees convenient and swift
too.
Key words Managerment Information System MVC mode SQL Server
2000 Database Management System Multi - layer Application
Program J2EE
毕业设计(论文)
III
目录
摘 要......................................................................................................................................I
Abstract.................................................................................................................................II
第 1 章 绪论 .......................................................................................................................1
第 2 章 超市综合信息管理系统概述 ...............................................................................3
2.1 超市综合信息管理系统简介 ..............................................................................3
2.1.1 什么是信息管理系统 ...............................................................................3
2.1.2 信息管理系统的特点 ...............................................................................4
2.1.3 管理信息系统的分类 ...............................................................................5
2.2 管理信息系统的开发过程 ..................................................................................5
2.3 本章小结 ..............................................................................................................6
第 3 章 选题与课题概述 ...................................................................................................7
3.1 课题相关的一些重要概念 ..................................................................................7
3.1.1 电子商务的概述 .......................................................................................7
3.1.2 电子商务相对于传统商务的优点 ...........................................................7
3.1.3 J2EE 的概念及体系结构分析..................................................................7
3.2 课题的选择 ........................................................................................................10
3.3 本章小结 ............................................................................................................10
第 4 章 操作平台和开发工具简介 .................................................................................11
4.1 系统性能需求 ....................................................................................................11
4.1.1 硬件环境 .................................................................................................11
4.1.2 软件环境 .................................................................................................11
4.2 SQL Sever 2000 介绍几选用原因 ....................................................................12
4.3 Java 在本系统的应用 ........................................................................................13
4.3.1 Java Bean 简介........................................................................................13
4.3.2 Java Bean 在系统中的使用....................................................................13
4.4 本章小结 ............................................................................................................13
第 5 章 系统可行性 .........................................................................................................14
5.1 市场可行性 ........................................................................................................14
5.2 技术可行性 ........................................................................................................14
毕业设计(论文)
IV
5.3 系统环境分析 ....................................................................................................14
5.4 安全分析 ............................................................................................................15
5.5 本章小结 ............................................................................................................15
第 6 章 需求分析说明书 .................................................................................................16
6.1 市场细分及各细分市场需求 ............................................................................16
6.2 功能需求 ............................................................................................................16
6.3 数据描述及数据库需求 ....................................................................................16
6.4 本章小结 ............................................................................................................17
第 7 章 系统总体设计 .....................................................................................................18
7.1 总体设计的目的 ................................................................................................18
7.2 总体设计内容 ....................................................................................................18
7.2.1 系统组织结构及思想 .............................................................................18
7.2.2 MVC 模式概述.....................................................................................18
7.2.3 本系统的 MVC 模式 ..............................................................................20
7.3 系统功能模块设计 ............................................................................................20
7.3.1 总体功能模块结构 .................................................................................20
7.3.2 数据库设计 .............................................................................................21
7.3.3 数据库子模式逻辑结构描述 .................................................................22
7.4 本系统的数据库的安全性 ................................................................................26
7.5 本章小结 ............................................................................................................27
第 8 章 详细设计 .............................................................................................................28
8.1 说明书编写目的 ................................................................................................28
8.2 详细设计概述 ....................................................................................................28
8.3 系统详细功能结构 ............................................................................................28
8.3.1 实际超市商品销售管理流程 .................................................................28
8.3.2 系统所有功能模块详细介绍 .................................................................28
8.4 系统模块实现 ....................................................................................................34
8.4.1 底层数据库 .............................................................................................35
8.4.2 数据库操作 Bean....................................................................................37
8.4.3 数据存取 Bean........................................................................................40
8.4.5 商务逻辑 bean.........................................................................................41
8.4.6 JSP 页面 ..................................................................................................41
毕业设计(论文)
V
8.5 Java Bean 特别说明:.......................................................................................41
8.5.1 基本方法 .................................................................................................41
8.5.2 重要语句 .................................................................................................42
8.5.3 Java Bean 之间的通信............................................................................42
8.6 本章小结 ............................................................................................................42
第 9 章 编码及调试 .........................................................................................................43
9.1 编码总述 ............................................................................................................43
9.2 程序亮点 ............................................................................................................43
9.3 JSP 页面调试过程 .............................................................................................43
9.4 本章小结 ............................................................................................................44
第 10 章 超市管理系统测试 ...........................................................................................45
10.1 简介 ..................................................................................................................45
10.2 测试内容 ..........................................................................................................45
10.2.1 功能测试 ...............................................................................................45
10.2.2 正确性测试 ...........................................................................................45
10.2.3 可靠性测试 ...........................................................................................45
10.3 软件测试报告 ..................................................................................................46
10.4 本章小结 ..........................................................................................................47
结 论 ...................................................................................................................................48
参考文献 .............................................................................................................................50
致 谢 ...................................................................................................................................51