[jboss-user] [JBoss jBPM] - Need recommandation about jbpmContext

vsevel do-not-reply at jboss.com
Fri Feb 15 09:22:23 EST 2008


What is your recommandation about the JbpmContext object lifetime in a web application?
I was thinking to keep the same context during the web application life time and to close it only when the application is stopped.
I am working mostly with taskInstance objects. 
So I noticed that the context should be saved with task instance object each time that some operations are made on it (to keep the database up to date).
Will it be better to close regurlarly the context and get a new one?

Thanks,
Val


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

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



More information about the jboss-user mailing list