[jboss-user] [jBPM] - Re: jBPM 5 in JBoss 5/6 appserver - start and resume

Mauricio Salatino do-not-reply at jboss.com
Thu Jan 27 06:40:57 EST 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: jBPM 5 in JBoss 5/6 appserver - start and resume"

To view the discussion, visit: http://community.jboss.org/message/583571#583571

--------------------------------------------------------------
Hi Brian.
Well you have different choices to make that work. You can have a global stateful session where all your processes will leave. If you are using persistence you don't need to worry about your processes, because each time that you interact with them the change of state will be persisted inside the database. If your server goes down, you only need to recreate the session and register all the workItemhandlers, globals and the human task handler (special type of workitem) in order to your process continue working.
About the objects inside the statefulsession it's the same.. Instead of recreating the session you can store somewhere the session id and when your server restart, you can query the database in order to get the latest snapshot of the session. In this situation you must register all the handlers again too.

Hope it helps!
Greetings!
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/583571#583571]

Start a new discussion in jBPM at Community
[http://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/20110127/341af8da/attachment.html 


More information about the jboss-user mailing list