Hi,

Let me explain my case in detail:

We have processes that have many nodes, but only a couple of these nodes are 
wait states. For example, the process goes through 20 nodes and then in the 21. 
node, it needs to be persisted. And most of these nodes have access to the 
context.

We have already an application and I am trying to adapt it so that it is 
running with JBPM. In this application all the data that the process needs is 
kept in some type of collections (similar to hashtable). I mean using this type 
of object is a given.

So, to prevent the performance lost, I already used a transient variable to 
store the object just like you suggested, but when it comes to a wait state, I 
have to copy the transient variable, to make it persisted. But I cannot find a 
simple generic way of doing this, I am trying to find an entry point and 
automatically update the context just before it is persisted. I dont want to 
handle this in each process and in each case.

Do you have any suggestions?



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to