JBoss Community

Re: Have a good CDI architecture to use JBPM5

created by Mauricio Salatino in jBPM - View the full discussion

Instead of having multiple Persistence Unit just have one for your app and the human task services as it is in the example.

If you have multiple Persistence Units you will need to use JTA, and if you use the web services option you will not have transaction support for that services. Using one single Persistence Unit will make it easy to run everything in the same transaction without using two phase commits.

 

Cheers

Reply to this message by going to Community

Start a new discussion in jBPM at Community