Activiti 实践:BPMN2.0可执行业务流程解析

4星 · 超过85%的资源 需积分: 12 2 下载量 109 浏览量 更新于2024-07-26 收藏 15.22MB PDF 举报
"activiti in action - 一本关于activiti流程引擎的书籍,深入探讨了使用BPMN2.0实现可执行业务流程" 《Activiti in Action》是一本由Tijs Rademakers编著的专业书籍,它深入讲解了如何利用Activiti流程引擎实现基于BPMN2.0的可执行业务流程。这本书由Tom Baeyens和Joram Barrez作序,为读者提供了权威的指导。BPMN(Business Process Modeling Notation)2.0是一种标准化的图形表示法,用于建模企业级的业务流程。 书中主要涵盖了以下几个关键知识点: 1. **BPMN2.0**:BPMN2.0是一种行业标准,用于绘制和交流业务流程图。它提供了一套丰富的图形符号,包括事件(如开始事件、结束事件)、流程(如顺序流)、任务(如用户任务、服务任务)等,使得非技术人员也能理解复杂的业务流程。 2. **Activiti Designer**:Activiti Designer是Activiti流程引擎配套的流程设计工具,它允许用户使用BPMN2.0标准来绘制和设计业务流程。设计完成后,会生成XML格式的流程定义,方便部署到Activiti Engine。 3. **Activiti Engine**:Activiti Engine是核心的流程引擎,负责运行流程定义。它能够自动执行自动化步骤,例如调用Web服务,同时处理涉及人员交互的手动步骤,这些步骤通常与Web表单结合使用。 4. **Webforms**:在业务流程中,Web表单是与用户交互的重要组件。Activiti支持创建和集成Web表单,使得业务流程中的任务可以通过用户友好的界面来完成。 5. **Tasks**:任务是业务流程的基本单元,可以是自动化的(如系统任务)或手动的(如用户需要完成的工作)。Activiti Engine管理这些任务的生命周期,包括分配、执行和完成。 6. **Jobs**:Jobs在Activiti中指代后台任务,如定时任务或异步操作。它们确保了流程引擎能够按照预定的时间或条件执行特定的动作。 7. **Processes**:流程是Activiti的主要工作对象,代表了一个完整的业务流程。它可以包含多个任务、事件和决策点,形成一个逻辑上的工作流。 8. **WS和REST**:Activiti Engine支持与外部系统通过Web服务(WS)或Representational State Transfer(REST)接口进行通信,实现流程的集成和扩展。 9. **Database(DB)**: Activiti Engine依赖数据库存储流程实例、任务、变量等信息。这使得流程状态可以在系统间持久化,并允许在不同时间点恢复流程。 通过阅读《Activiti in Action》,读者不仅可以掌握Activiti的使用,还能深入理解BPMN2.0标准和业务流程自动化的核心概念。无论你是开发者、项目经理还是业务分析师,这本书都能帮助你构建、实施和优化高效的企业级业务流程。
2018-04-04 上传
Writing this book was a life-changer for me. After I wrote Open Source ESBs in Action for Manning a few years ago, I focused on my daily job for some time, working with open source enterprise integration frameworks like Mule, Camel, ServiceMix, and Spring Integration. My work, over time, drove me to designing and developing processes and BPM , and I started using j BPM and WebSphere Process Server. Then I learned that the founder of the j BPM project, Tom Baeyens, was leaving JB oss to work on a new open source project, which was in stealth mode at that time (early 2010). When the first alpha version of Activiti was released, I told myself I had to contribute to that project, one way or another. A piece that was missing in the first stages of the Activiti project was an Eclipse plug-in. I had some email conversations with Tom about contributing the plug-in to Activiti. We met and he told me that his goal was to disrupt the process engine space with the Activiti project. My enthusiasm grew even more and I offered my time to start working on a first version of the Activiti Designer. Together with my former col- leagues, Tiese Barrell, Yvo Swillens, and Ron van Liempd, we were able to deliver a first version within a couple of months. As we became part of the Activiti developer community, my hands were itching to start writing a book about Activiti. I felt that a great open source process engine would need a detailed book to describe all the possibilities and potential it offers. Manning was eager to publish a book about Activiti, and, together with Ron, we started writing in the autumn of 2010. We had a hard time keeping up with the frequent releases and the new functionality that kept on coming. But, it also was a lot of fun to be able to write about a new functionality that was just (or about to be) released. After a few meet-ups with the Activiti developer community and a couple of nice dinners with the Activiti team, we began discussing the possibility of my joining Alfresco to work on Activiti. In May 2011, I accepted the offer and was able to begin working on Activiti full-time. In the meantime, the writing of this book fell a little behind schedule. There was so much interesting work to be done developing the Activiti Designer, working on the Activiti Engine, and starting in a new job, that time caught up with me. After I had settled in a bit, I took up the writing task again and began working on the remaining chapters. So here I am, at the end of the process. I’ve switched from being a consultant to an open source software engineer, and I’m close to completing my second book. And, just like with my previous book, I have a new family addition coinciding with the book’s release. I hope you will enjoy reading this book as much as I loved writing it!