Mauricio Salatino [
https://community.jboss.org/people/salaboy21] created the discussion
"Re: Have a good CDI architecture to use JBPM5"
To view the discussion, visit:
https://community.jboss.org/message/776223#776223
--------------------------------------------------------------
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
[
https://community.jboss.org/message/776223#776223]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]