-
1. Re: Integration issue with the ejb caching
kconner Nov 17, 2006 11:38 AM (in response to starksm64)This has been discussed previously with Bela and Manik, they should be using an XAResource to handle this.
There was a discussion on one of the forums but I can't find it at the moment, perhaps Bela or Manik can point to it. -
2. Re: Integration issue with the ejb caching
marklittle Nov 17, 2006 11:39 AM (in response to starksm64)Thanks. Just posted something there.
-
3. Re: Integration issue with the ejb caching
kconner Nov 17, 2006 11:41 AM (in response to starksm64)ditto :-)
-
4. Re: Integration issue with the ejb caching
marklittle Nov 17, 2006 11:45 AM (in response to starksm64)Yeah, but mine got in before yours so I win this round ;-) TOO SLOW :-)
-
5. Re: Integration issue with the ejb caching
kconner Nov 17, 2006 11:47 AM (in response to starksm64)lol, I was distracted for a minute :-)
-
6. Re: Integration issue with the ejb caching
brian.stansberry Nov 17, 2006 12:41 PM (in response to starksm64)LOL. I never thought for a second that fixing this would involve changing the synchronization handling behavior of JBossTS, although my post didn't say that. But it's why I posted on the EJB3 forum and not here. :-)
JBoss Cache and Hibernate need to integrate properly with any transaction manager; relying on the implementation details of one or two obviously doesn't cut it. -
7. Re: Integration issue with the ejb caching
marklittle Nov 17, 2006 1:04 PM (in response to starksm64)No problem. JBossTS does support ordering of invocations if you want, but it's not part of the specs so you'd be no better off than you are now really, at least as far as non-JBoss TMs are concerned.
-
8. Re: Integration issue with the ejb caching
brian.stansberry Nov 17, 2006 1:45 PM (in response to starksm64)Is this some kind of a externally configurable switch, or does it require coding to a JBossTS API?
-
9. Re: Integration issue with the ejb caching
kconner Nov 17, 2006 2:16 PM (in response to starksm64)I would also be interested in this answer as I believe the sequence is hashed. :-)
How do you specify the order? -
10. Re: Integration issue with the ejb caching
marklittle Nov 18, 2006 4:09 AM (in response to starksm64)It's a JBossTS specific API. You'd need to user AbstractRecords and either use one of the pre-defined types or add your own type. Full details are in the Core Programmers Guide.
However, I WOULD NOT RECOMMEND doing it this way, if portability is something you want to achieve. -
11. Re: Integration issue with the ejb caching
brian.stansberry Nov 18, 2006 4:16 AM (in response to starksm64)No, we definitely wouldn't code to a JBossTS specific API. If it was something externally configurable, I would have considered using it short term in test fixtures, etc., so I could test other aspects of EJB3/JBC integration without this issue getting in the way.
Thanks for the info.