JAVA课程设计
题 目 学 院 专业班级 学生姓名 指导教师 成 绩物流管理系统的设计与实现
数计学院 计科1022班
2013年 1 月 4日
摘 要
物流信息管理系统是一个企业不可缺少的一部分,它的内容对于企业的决策者和管理者来说都是至关重要的,因此,物流信息管理系统应该能够为用户提供充足的信息和快捷的查询手段,但一直以来人们使用传统的人工方式管理物流,这种管理方式存在着许多缺点,诸如效率低,保密性差等,而且将会产生大量的文件和数据,这对于查找、更新和维护都带来了不少的困难。企业信息管理通常比较复杂,由于各类信息繁多难以集中,利用计算机支持企业高效率完成企业信息管理,是适应现代企业制度要求,推动企业信息管理走向科学化、社会化、规范化和自动化,从而提高企业信息管理效率。
本文首先介绍了以JAVA语言实现的运通物流管理系统的开发过程,以及开发中所用到的技术,并对系统进行了分析设计,最后通过相应的开发平台进行实现。该系统达到了数据的一致性和安全性,应用程序功能完备,符合了物流信息管理系统作为典型的信息管理系统的要求。用户可以对物流信息进行新增、查询、修改以及数据分析统计等操作,为了达到企业内部的要求,本系统也对人事信息和客户信息进行了管理,使物流信息系统更加完善。
关键词: 物流;信息管理;JAVA
I
Abstract
Logistics information management system is an integral part of an enterprise. Its content for business decision makers and managers, are crucial, therefore, logistics information management system should be able to provide sufficient information and efficient query means. But it has been the use of traditional manual management of logistics, such management, there are many shortcomings, such as low efficiency, poor confidentiality, and over time, will produce a large number of documents and data, for search, update and maintain all brought many difficulties. Enterprise information management is often complex and difficult to concentrate as many types of information, efficient use of computer support companies to complete enterprise information management, is to adapt to the modern enterprise system, enterprise information management to promote scientific, social, standardization and automation to enhance enterprise information management efficiency. This paper introduces the operation of the JAVA language through the development process of the logistics management system, design and system analysis, and finally through the appropriate platform for implementation. The system has reached the consistency and security of data, application functions, in line with the logistics information management system as a typical management information systems. Logistics information for the user can add, query, modify, and data analysis, statistics, etc, in order to achieve the requirements of the enterprise, the system also on the personnel information and customer information to the management, logistics information management more perfect.
Key words :Logistics; Information management;JAVA
II
目 录
摘要 ..................................................................................................................................................I Abstract ....................................................................................................................................... II
第1章 绪论 ............................................................................................................................. 1
1.1 选题依据和意义 ....................................................................................................... 1 1.2 本课题在国内外的研究现状 ................................................................................ 1 1.3 课题研究的内容及拟采取的方法 ....................................................................... 2 第2章 系统开发模式、工具及环境 ................................................................................ 3
2.1 系统开发模式 ........................................................................................................... 3 2.2 系统开发环境的选择.............................................................................................. 3 2.3 系统运行环境的选择.............................................................................................. 3 2.4 系统实现过程中技术的选择 ................................................................................ 3 第3章 需求分析—软件需求规格说明书 ....................................................................... 4
3.1 引言 ............................................................................................................................. 4 3.2 背景 ............................................................................................................................. 4 3.3 任务概述 .................................................................................................................... 5 3.3.1 目标 ..................................................................................................................... 5 3.3.2 用户的特点 ....................................................................................................... 5 3.4 需求规定 .................................................................................................................... 5 3.4.1 对性能的规定 ................................................................................................... 6 3.4.2 系统用例图 ....................................................................................................... 6 3.5 运行环境规定 ........................................................................................................... 9 第4章 系统总体设计 ......................................................................................................... 10
4.1 设计目的 .................................................................................................................. 10 4.2 系统模块结构设计: ............................................................................................... 10 4.3 系统功能结构描述 ................................................................................................ 11 4.4 系统功能机构图 ..................................................................................................... 11 第5章 系统的数据库设计 ................................................................................................ 14
5.1 数据库的概念 ......................................................................................................... 14 5.2 数据库的选择 ......................................................................................................... 14 5.3 数据库设计 .............................................................................................................. 14 第6章 系统开发技术介绍 ................................................................................................ 22
6.1 JAVA开发语言的选择 .......................................................................................... 22 6.2 MVC设计模式描述 ................................................................................................. 24
III
6.3 Struts2,Hibernate技术描述 ........................................................................ 25 6.3.1 Struts2描述 .................................................................................................. 25 6.3.2 Hibernate描述 ............................................................................................. 27 6.4 SQL语言描述 .......................................................................................................... 27 第7章 系统的详细设计与实现 ....................................................................................... 28
7.1 架构Struts2框架和描述 .................................................................................. 28 7.2 架构Hibernate框架和描述 .............................................................................. 29 7.3 系统功能的实现 ..................................................................................................... 30 7.3.1 系统的登录功能实现 ................................................................................... 31 7.3.2 运通物流系统首页面设计 .......................................................................... 31 7.3.3 人事管理模块实现 ........................................................................................ 32 7.3.4 货物信息管理实现 ........................................................................................ 35 7.3.5 车辆信息管理实现 ........................................................................................ 40 7.3.6 订单信息查询 ................................................................................................. 46 7.3.7 费用统计 ......................................................................................................... 48 结论 ............................................................................................................................................... 49 参考文献 ...................................................................................................................................... 50 致谢 ............................................................................................................................................... 51
IV