[jboss-user] [jBPM] - Re: Have a good CDI architecture to use JBPM5

Mauricio Salatino do-not-reply at jboss.com
Tue Nov 13 11:43:33 EST 2012


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121113/9775db63/attachment.html 


More information about the jboss-user mailing list