-
1. Re: Some questions about JBC 1.4
jorgemoralespou_2 Oct 16, 2007 11:58 AM (in response to jorgemoralespou_2)Pushing it up, to help it get answered.
-
2. Re: Some questions about JBC 1.4
manik Oct 18, 2007 9:30 AM (in response to jorgemoralespou_2)1. No, this need not be transactional
2. By making the cache loader async, you won't have the overhead of writing to disk with every call. But with 1.4.x there is no way to defer or batch the writing to disk. Perhaps you could write your own subclass of the cache loader you are interested in to do this.
3. Again, this is something you could implement by making your custom cache loader implement a cache listener and be aware of cache startup/shutdown events, and know whether you are the coordinator. Regarding using Habanero in AS 4.2.x, I know some people have tried it with varying degrees of success, classloader scoping is always the tricky bit though since it should not overlap with the Jalapeno/Cayenne jars that come with the AS.
4. Yes. Just don't start a transaction for data that should not be stored transactionally!
PS: Sorry for the late response on this. -
3. Re: Some questions about JBC 1.4
jorgemoralespou_2 Oct 18, 2007 9:53 AM (in response to jorgemoralespou_2)Thanks Manik for your response.
I`ll go for a custom classloaders that only listen for startup/stop events. Hope I get it right.
I`ll let you all know.