Activiti用户指南:2017中文翻译版

1星 需积分: 11 18 下载量 90 浏览量 更新于2024-07-19 收藏 9.09MB PDF 举报
" Activiti用户指南.pdf2017-12-21最新中文翻译版" Activiti是一个开源的工作流程引擎,它基于Apache V2许可证发布。这个用户指南是2017年12月21日的中文翻译版,可能包含少许翻译误差,鼓励用户提供改进的中文文档。 在开始使用Activiti之前,你需要了解以下关键知识点: 1. **许可证**:Activiti遵循Apache V2许可证,允许商业使用和修改,但需遵守一定的条款。 2. **下载**:你可以通过官方网站http://activiti.org/download.html获取Activiti的相关软件。 3. **源代码**:Activiti的源代码托管在GitHub上,地址是https://github.com/Activiti/Activiti,有兴趣的开发者可以查看和参与项目。 4. **系统需求**: - **JDK 7+**:Activiti需要JDK 7或更高版本运行。确保正确安装JDK并使用`java -version`命令检查版本。 - **集成开发环境(IDE)**:虽然可以选择任何IDE,但使用Activiti Designer需要Eclipse Kepler或Luna。可以从Eclipse官网下载并安装。 5. **问题报告**:遇到问题时,建议在用户论坛上发表讨论,并在Activiti的JIRA问题追踪器中创建问题。避免在GitHub上直接创建问题。 6. **实验功能**:带有[实验]标签的功能不稳定,可能随时变化。而`.impl.`包中的类虽然可能被用作配置值,但并不保证稳定性。 7. **内部实现类**:所有包含`.impl.`的包(如`org.activiti.engine.impl.db`)中的类被视为内部实现,不对外公开,稳定性不受保证。 8. **快速入门**: - **一分钟版本**:从Activiti官网下载并解压,然后在你的项目中引入Activiti库。使用JDK 7+创建一个流程引擎实例,即可开始执行工作流程。 9. **使用流程**:通常包括设计流程定义(使用Activiti Designer),部署到Activiti引擎,启动流程实例,执行任务和管理流程实例。 10. **API和工具**:Activiti提供了丰富的API和工具,如流程定义语言BPMN 2.0,用于设计流程模型;以及Engine API,用于与流程引擎交互,如启动流程、查询任务等。 11. **Activiti Designer**:这是一个Eclipse插件,用于图形化地设计和编辑BPMN 2.0流程图,然后导出为XML文件进行部署。 12. **部署和运行**:部署流程定义到Activiti引擎后,可以通过调用Engine API启动新的流程实例,流程将按照定义自动执行。 13. **监控和管理**:Activiti提供了管理和监控工具,帮助用户跟踪流程实例的状态,管理任务和事件,以及收集运行数据。 通过深入学习这些知识点,你将能够有效地利用Activiti构建和管理复杂的企业工作流程。记得关注官方更新和社区资源,以便获取最新的信息和支持。
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!