AnsweredAssumed Answered

Architectural Question: Using Activiti In a Spring Web App

Question asked by euploid on Nov 4, 2011
Latest reply on Nov 4, 2011 by ronald.van.kuijk
We have a web application built on top of Sping, Spring MVC, and Hibernate (not JPA-compliant). We would like to use Activiti for our process flow management. What would be the best way to layer Activiti given our current application architecture?

Specifically, here are some of my more technical questions:

1) I would like to keep the database used by Activiti separate from the database used in our application. The means we will have two separate database connections. How do we coordinate transactions used by Activiti with transactions in our application? Do I need to use JTA? Does Activiti support it?

2) Sharing data. Tasks in Activiti would need to access our data to determine the transition logic. What's the best way to do this?

3) Activiti doesn't support Hibernate. What changes do I need to make to our domain objects to make them work with Activiti.

Any suggestions or advice would be much appreciated.

Outcomes