基于J2EE的客户关系管理系统——销售管理子系统的设计与实现毕业论文 下载本文

基于J2EE的客户关系管理系统-销售管理子系统的设计与实现

company user's work.

This article mainly divides into five contents: system development background and method of exploitation, demand analysis, system analysis, system design and system implementation. In demand analysis, has established first with the example model, and comes the detailed description through the active chart to use the example; Through uses the example sequence chart and the VOPC chart, has completed the system analysis; The system design mainly mainly has carried on the detailed design to kind of and the database; Finally aimed at the system end product to make an implementation introduction, had the main contact surface and the partial codes.

key words: CRM ,sales,order, opportunity analysis, OO

- IV -

基于J2EE的客户关系管理系统-销售管理子系统的设计与实现

目录

1 绪论 ....................................................................... 2

1.1 前言 ................................................................. 2 1.2 系统开发背景及开发方法 ............................................... 3

1.2.1 开发背景 ....................................................... 3 1.2.2 开发方法 ....................................................... 4

1.2.2.1 面向对象的方法 ........................................... 4 1.2.2.2面向对象的优势 ........................................... 4 1.2.2.3 统一建模语言UML ......................................... 4 1.3 开发工具 ......................................................... 5

2 需求分析 ................................................................... 6

2.1 问题描述 ............................................................. 6 2.2 Glossary词汇表 ...................................................... 6 2.3 补充规约(非功能性需求) ............................................. 7 2.4 用例模型 ............................................................. 8

2.4.1 用例图 ......................................................... 8 2.5 用例描述 ............................................................. 9

2.5.1销售公告板用例的描述 ........................................... 9 2.5.2机会信息管理用例的描述 ........................................ 13 2.5.3机会过程跟踪用例的描述 ........................................ 16 2.5.4订单管理用例的描述 ............................................ 19 2.5.5机会分析用例的描述 ............................................ 22 2.5.6统计报表用例的描述 ............................................ 23

3 面向对象分析00A .......................................................... 25

3.1 用例实现 ............................................................ 25 3.2 用例分析 ............................................................ 28

3.2.1 销售公告板用例序列图 .......................................... 29

- V -

基于J2EE的客户关系管理系统-销售管理子系统的设计与实现

3.2.2机会信息管理用例序列图 ........................................ 31 3.2.3机会过程跟踪管理用例序列图 .................................... 33 3.2.4 订单管理用例序列图 ............................................ 35 3.2.5机会分析用例序列图 ............................................ 37 3.2.6统计报表用例序列图 ............................................ 38 3.3 各用例相关分析类的VOPC图 ........................................... 38

3.2.1销售公告板用例(SaleBBS)的VOPC 图 ............................ 39 3.2.2机会信息管理用例(Opportunity Info Management)的VOPC 图 ........ 39 3.2.3机会过程跟踪管理用例(Opportunity Process Track)的VOPC 图 ...... 40 3.2.4订单管理用例(Order Management)的VOPC 图 ....................... 40 3.2.5机会分析用例(Opportunity Analysis)的VOPC 图 ................... 41 3.2.6统计报表用例(Statistics Report)的VOPC 图 .................... 41

4 面向对象设计OOD .......................................................... 42

4.1 概念设计:分析类向设计元素映射 ...................................... 42

4.1.1 边界类映射 .................................................... 42 4.1.2 控制类映射 .................................................... 42 4.1.3 实体类映射 .................................................... 42 4.2 逻辑设计 ............................................................ 44

4.2.1 application layer ............................................. 44 4.2.2 business layer ................................................ 46 4.2.4 data layer .................................................... 48 4.2.5 各个层次之间的异常处理机制 .................................... 49 4.3 数据库设计 .......................................................... 50 5 面向对象实施 .............................................................. 56

5.1 系统实施环境 ........................................................ 56

5.1.1物理配置方案 .................................................. 56 5.1.2部署图设计 .................................................... 57

- VI -

基于J2EE的客户关系管理系统-销售管理子系统的设计与实现

5.1.3 系统实施和测试 ................................................ 57 5.2 系统实施界面 ........................................................ 59 5.3 部分程序代码设计 .................................................... 65 结论 ........................................................................ 68 参考文献 .................................................................... 69

- VII -