-
1. Re: who needs transient variables ?
kukeltje Sep 15, 2005 5:51 PM (in response to tom.baeyens)if the businesslogic is within the same thread yes, but how do you see it if the bl (or code excuted from an asyn action) is not run within the same thread? Is it easy to retrieve the context map from the threadlocal? If so I do not see a problem. It should however not be exposed to the user that a threadlocal solution is used.
-
2. Re: who needs transient variables ?
houyunf Sep 16, 2005 3:22 AM (in response to tom.baeyens)Well, in that case, I think you should not use transient variable. In my understanding, thansient variable will be discarded when entering into state or task node, or what ever node type will keep the process in a non-complete state.
Yunfeng Hou -
3. Re: who needs transient variables ?
tom.baeyens Sep 20, 2005 11:41 AM (in response to tom.baeyens)asynchronous continuation of a process will also dispose the transient variables.
the availability of transient variables and the thread locals will be very similar, i guess. but i decided to keep the transient variables for backwards compatibilty anyway.
regards, tom.