Activiti in Action
Executable business processes in BPMN 2.0
Tijs Rademakers
Forewords by Tom Baeyens and Joram Barrez
  • July 2012
  • ISBN 9781617290121
  • 456 pages
  • printed in black & white

from the Foreword: A comprehensive overview of the Activiti framework, the Activiti Engine, and BPMN.

Tom Baeyens, Founder of jBPM

Activiti in Action is a comprehensive tutorial designed to introduce developers to the world of business process modeling using Activiti. Before diving into the nuts and bolts of Activiti, this book presents a solid introduction to BPMN 2.0 from a developer's perspective.

Table of Contents show full

foreword by tom baeyens

foreword by joram barrez



about this book

about the cover illustration

Part 1 Introducing BPMN 2.0 and Activiti

1. Introducing the Activiti framework

1.1. The Activiti tool stack

1.2. Getting to know Activiti

1.3. Installing the Activiti framework

1.4. Implementing your first process in Activiti

1.5. Summary

2. BPMN 2.0: what’s in it for developers?

2.1. Taking a closer look at BPM

2.2. Evolution to BPMN 2.0

2.3. Introducing BPMN 2.0 from a developer’s viewpoint

2.4. Summary

3. Introducing the Activiti tool stack

3.1. Working with the Activiti Modeler

3.2. Adding technical details with the Activiti Designer

3.3. Managing the Engine using the Activiti Explorer

3.4. Processes and tasks with the Activiti Explorer

3.5. Summary

4. Working with the Activiti process engine

4.1. Creating an Activiti development environment

4.2. Using the Activiti Engine API

4.3. Using plain Java to do BPM

4.4. Using Spring with Activiti

4.5. Summary

Part 2 Implementing BPMN 2.0 processes with Activiti

5. Implementing a BPMN 2.0 process

5.1. Introducing a real business process

5.2. Developing script and service tasks

5.3. Interacting with user tasks and Activiti forms

5.4. Handling decisions and sending email

5.5. Deploying processes to the Activiti Engine

5.6. Testing the process with Activiti Explorer

5.7. Summary

6. Applying advanced BPMN 2.0 and extensions

6.1. Using BPMN 2.0 subprocesses

6.2. Working with BPMN 2.0 parallel gateways

6.3. Adding a JPA extension to your process

6.4. Using execution and task listeners

6.5. Summary

7. Dealing with error handling

7.1. Choosing between error handling options

7.2. Implementing error handling with BPMN 2.0 constructs

7.3. Implementing error handling using Java logic

7.4. Summary

8. Deploying and configuring the Activiti Engine

8.1. Choosing between deployment options

8.2. Using a Spring-managed Activiti Engine

8.3. Configuring the Activiti Engine

8.4. REST communication with the Activiti Engine

8.5. Summary

9. Exploring additional Activiti modules

9.1. Spring annotations

9.2. Building an Activiti JEE 6 application

9.3. Deploying Activiti to an OSGi container

9.4. Summary

Part 3 Enhancing BPMN 2.0 processes

10. Implementing advanced workflow

10.1. Going beyond a simple user task

10.2. Managing the user identities in an LDAP server

10.3. Implementing the BPMN 2.0 multi-instance activity

10.4. Custom form types and external form rendering

10.5. Summary

11. Integrating services with a BPMN 2.0 process

11.1. Invoking services from a BPMN 2.0 process

11.2. Using the BPMN 2.0 web service task

11.3. Integrating with Apache Camel

11.4. Integrating with Mule ESB

11.5. Summary

12. Ruling the business rule engine

12.1. Introducing business rule management

12.2. Entering the rule world of Drools

12.3. Integrating Drools with Activiti

12.4. Creating a web-based rule editor

12.5. Summary

13. Document management using Alfresco

13.1. Introducing Alfresco Community

13.2. Using CMIS to store and retrieve documents

13.3. Adding documents to a BPMN 2.0 process definition

13.4. Summary

14. Business monitoring and Activiti

14.1. Monitoring business processes

14.2. Meeting the Esper framework

14.3. Monitoring Activiti processes with Esper

14.4. Monitoring Activiti with a Vaadin dashboard

14.5. Summary

Part 4 Managing BPMN 2.0 processes

15. Managing the Activiti Engine

15.1. Working with the Activiti database

15.2. Dealing with process versioning

15.3. Understanding the job executor

15.4. Building an administrator dashboard

15.5. Summary

Appendix A: Working with the source code

Appendix B: BPMN 2.0 supported elements in Activiti


© 2014 Manning Publications Co.

About the Technology

Activiti streamlines the implemention of your business processes: with Activiti Designer you draw your business process using BPMN. Its XML output goes to the Activiti Engine which then creates the web forms and performs the communications that implement your process. It's as simple as that. Activiti is lightweight, integrates seamlessly with standard frameworks, and includes easy-to-use design and management tools.

About the book

Activiti in Action introduces developers to business process modeling with Activiti. You'll start by exploring BPMN 2.0 from a developer's perspective. Then, you'll quickly move to examples that show you how to implement processes with Activiti. You'll dive into key areas of process modeling, including workflow, ESB usage, process monitoring, event handling, business rule engines, and document management integration.

What's inside

  • Activiti from the ground up
  • Dozens of real-world examples
  • Integrate with standard Java tooling

About the reader

Written for business application developers. Familiarity with Java and BPMN is helpful but not required.

About the author

Tijs Rademakers is a senior software engineer specializing in open source BPM, lead developer of Activiti Designer, and member of the core Activiti development team. He's the coauthor of Manning's Open Source ESBs in Action.

combo $49.99 pBook + eBook
eBook $39.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

from the Foreword: A superb book. Best source of knowledge on Activiti and BPMN 2.0. Period.

Joram Barrez, Cofounder of Activiti

The very first book on Activiti...immediately sets the bar high.

Roy Prins, CIBER Netherlands

Just enough theory to let you get right down to coding.

Gil Goldman, Dalet Digital Media Systems