[jboss-dev-forums] [Design of JBoss jBPM] - Re: Transaction Management sync between JBPM and Application

Narasimha_Addanki do-not-reply at jboss.com
Sat Mar 3 07:47:25 EST 2007


To cater the bussiness requirement am creating those many Context Instances as many number of users are being created at the application level.

The Process is executed for every individual user at JBPM iteratively and the context that was opened, process instance id and user status are stored in a collections object. This object is passed to the application for reading the status of the user and pushing the value objects in to the DB. Once the data placing in to application db is successful then application sends the collections object which only contains the context instances' list  and process instances' list. 

Comit operations is made into a transaction by saving and closing the jbpm context in the same order in which they were created.

And need to be ready with the delete operations if any exception happend at mid of the closing jbpm context operations

Please provide some value addition for the approach by providing your thoughts

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024829#4024829

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024829



More information about the jboss-dev-forums mailing list