基于jBPM的长事务插件的研究与实现-软件工程专业论文.docxVIP

  • 1
  • 0
  • 约5.68万字
  • 约 66页
  • 2019-02-13 发布于上海
  • 举报

基于jBPM的长事务插件的研究与实现-软件工程专业论文.docx

基于jBPM的长事务插件的研究与实现-软件工程专业论文

摘要 工作流在应用中的事务通常属于生命周期较长、恢复属性多样的长事务,而 长事务一般都有撤消子事务、同时恢复长事务状态至该子事务操作之前的需求。 在现有的事务模型中,虽然有一些能处理子事务撤消的事务模型,但都对撤消后 的补偿事务处理得不好,不能满足工作流长事务的需要。jBPM(java Business Process Management)是一款基于西方业务流程管理思想的工作流框架,它是一 款较成熟的、简洁实用且高效的工作流管理框架,并且在处理具有中国特色的业 务场景时暴露出很多工作流长事务中的问题。 本文针对企事业使用 jBPM 引擎处理工作流项目时出现的工作流长事务的 问题(包括回退、取回、流程跳转及补偿等),研究了在特定领域下的基于 jBPM 的长事务的需求共同点与技术难点,并对流程跳转和补偿做了大量分析。本文首 先阐述了工作流技术领域的相关概念和原理,介绍了长事务的概念和现有模型; 然后分析了具体项目中的有关工作流业务的功能需求,并给出了这一类业务流程 在实现上的技术难点的解决方案,设计了用于解决这类工作流长事务问题的基于 jBPM 的长事务插件;最后实现了插件在项目中的具体应用。 经过实际项目应用结果表明,本文提出的基于jBPM的长事务插件大幅度减 少了项目的工作量,提高了代码的重用率,帮助编程人员提高了工作效率,实现 了应用系统的功能目标。 关键词:jBPM 工作流 长事务 插件 Abstract The transactions appeared in the application of workflow are usually long transactions which have longer operation life cycle and more multiple properties of recovery compared with common transactions, and long transactions generally have the requirement to withdraw a sub-transaction and recover to the state before the sub-transaction executed at the same time. Although some existing transaction models can deal with the sub-transaction withdrawing, but they cannot satisfied the needs of long transaction in workflow because they cannot handle the compensation transaction of the sub-transaction withdrawing. jBPM(java Business Process Management) is a western-based business process management framework, which is mature, simple, practicable and efficient. It exposed a lot of problems about long transaction in workflow when using jBPM to deal with the scenes with Chinese characteristics. This paper focus on dealing with the problems appeared in the application of jBPM which used as the engine of workflow in domestic enterprises, including rollback, withdraw, flow jump, compensation and so on. This paper concluded the common requirements and technical difficulties from long transactions of workflow by the application of jBPM in a given filed, and done a lot of analysis on process jump and compensation. The paper firstly introduced some concepts and principles about w

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档