Chapter 9. Exploring additional Activiti modules
This chapter covers
- Introducing new Spring features
- Developing a JEE 6 application with Activiti CDI
- Learning about Activiti OSGi
We’ve already covered a lot of the core Activiti functionality and become familiar with the BPMN 2.0 industry standard. You’re already able to design and implement complex business processes using advanced BPMN 2.0 constructs, like the parallel gateway and error boundary events. We also covered how to set up a production environment for Activiti Engine using the embedded and standalone approaches.
We haven’t yet discussed the full range of possibilities for the Activiti Spring module. In this chapter, I’ll introduce you to a method annotation that starts new processes and to the use of process-scoped variables. This provides a good warm-up for the Activiti CDI and OSGi module sections because they also provide this functionality, among a lot of additional possibilities.
You can do a lot more with Activiti than just embedding it or deploying it to a servlet container. In this chapter, you’ll see how you can develop full-fledged JEE 6 applications using the Contexts and Dependency Injection (CDI) specification (JSR 299). You’ll make use of the Activiti CDI module and see how to deploy this application on JBoss and GlassFish application servers.