文件名称:深入浅出jBPM完整版part2
文件大小:38.17MB
文件格式:RAR
更新时间:2015-11-21 03:51:10
jBPM
第 1 章 helloworld..............................................2 1.1 下载开发套件.............................................2 1.2 安装流程设计器 .........................................7 1.3 jBPM版helloworld.....................................10 1.3.1 创建helloworld流程......................13 1.3.2 设计流程图 ...................................15 1.3.3 测试helloworld流程......................16 第 2 章 jBPM 基础...........................................19 2.1 JbpmConfiguration和 JbpmContext.........................................19 2.1.1 JbpmConfiguration...............19 2.1.2 JbpmContext.............................21 2.2 构建jBPM数据库......................................27 2.3 流程发布...................................................29 2.4 模板与实例...............................................35 2.5 版本...........................................................37 2.6 Token.........................................................37 2.7 流程上下文...............................................40 2.8 JPDL表达式..............................................43 2.9 动作...........................................................46 2.10 路由.........................................................47 2.11 异常处理.................................................49 2.11.1 设置...........................................49 2.11.2 流程级别....................................50 2.11.3 元素级别....................................53 2.12 身份组件.................................................55 2.13 BeanShell脚本.........................................58 2.13.1 BeanShell语法.............................58 2.13.2 BeanShell在jBPM中的用法........63 第 3 章 流程节点详解.....................................67 3.1 公共属性...................................................68 3.2 Node节点...................................................69 3.3 State节点...................................................73 3.4 Task Node节点..........................................73 3.5 Start节点....................................................78 3.6 Fork和Join节点.........................................81 3.7 Decision节点.............................................86 3.8 Process State节点......................................94 3.9 Super State节点.......................................103 3.10 Mail Node节点......................................107 3.11 ESB Service节点...................................111 第 4 章 任务.....................................................112 4.1 任务实例.................................................113 4.2 任务分配.................................................114 4.2.1 Handler方式.................................115 4.2.2 Expression方式............................116 4.2.3 Swimlane方式 .............................116 4.2.4 Pooled Actors方式.......................117 4.2.5 Actor方式....................................117 4.3 任务事件.................................................118 4.4 任务控制器.............................................121 4.5 任务提醒.................................................125 4.6 任务属性.................................................131 第 5 章 任务调度............................................133 5.1 原理.........................................................133 5.2 业务日历.................................................134 5.3 Timer.......................................................136 2 目 录 5.3.1 duedate.........................................137 5.3.2 repeat ...........................................137 5.3.3 transition......................................138 5.3.4 cancel-event.................................141 5.3.5 其他属性.....................................142 5.4 举例.........................................................142 5.4.1 设计流程.....................................142 5.4.2 测试.............................................143 第 6 章 异步.....................................................146 6.1 概念.........................................................146 6.2 原理.........................................................147 6.3 举例.........................................................149 6.3.1 同步.............................................149 6.3.2 异步.............................................152 6.4 小结.........................................................155 第 7 章 应用.....................................................156 7.1 创建工程.................................................156 7.2 配置jBPM................................................158 7.3 报销流程示例.........................................164 7.3.1 需求.............................................165 7.3.2 设计流程.....................................165 7.3.3 测试流程.....................................170 7.3.4 网页开发.....................................174 7.3.5 流程测试.....................................181 7.3.6 流程进度图 .................................184 7.4 采购流程示例.........................................191 7.4.1 需求.............................................191 7.4.2 设计业务表 .................................191 7.4.3 设计流程.....................................191 7.4.4 测试流程.....................................200 7.4.5 Web开发......................................202 7.4.6 测试Web流程..............................211 7.4.7 改进流程进度图 .........................215 7.5 流程监控.................................................218 7.5.1 修改主界面 .................................218 7.5.2 流程模板列表 .............................219 7.5.3 流程实例列表 .............................220 7.5.4 显示流程节点 .............................221 7.5.5 测试.............................................223 7.6 小结.........................................................226 第 8 章 开发技巧............................................227 8.1 动态任务参与者.....................................227 8.2 动态定时器.............................................231 8.3 会签.........................................................234 8.4 传阅.........................................................237 8.5 子流程并行.............................................241 8.6 小结.........................................................248 第 9 章 企业级应用........................................249 9.1 EJB方式的异步和任务调度...................249 9.1.1 J2EE容器配置.............................250 9.1.2 应用改造.....................................253 9.1.3 部署.............................................256 9.1.4 测试.............................................262 9.1.5 小结.............................................262 9.2 FacadeBean封装jBPM............................262 9.2.1 异步和任务调度的EJB实现.......264 9.2.2 FacadeBean的开发与测试..........287 9.3 小结.........................................................304 第二部分 Jbpm 4 第 10 章 jBPM 4 入门...................................306 10.1 安装jBPM 4...........................................306 10.1.1 下载开发套件.........................306 10.1.2 安装流程设计器.....................308 10.2 初试jBPM 4...........................................310 10.2.1 导入流程示例.........................310 10.2.2 第一个流程模板.....................310 10.2.3 创建jBPM 4数据库表.............312 10.2.4 发布流程模板.........................315 10.2.5 测试流程模板.........................315 第 11 章 jBPM 4 进阶 ...................................321 11.1 流程节点详解.......................................321 11.1.1 Start节点..................................321 11.1.2 End节点...................................322 11.1.3 Wait节点 .................................322 目 录 3 11.2.2 设计流程模板......................... 11.1.4336 Fork和Join节点.......................322 11.2.3 测试流程模板......................... 11.1.5339 Task节点 .................................326 11.1.6 java节点...................................329 附录 A jBPM 3.2 的日志处理 .....................342 11.1.7 exclusive节点..........................331 附录 B 在jBPM 3.2 中配置文件................344 11.2 jBPM 4流程示例...................................336 11.2.1 需求.........................................336