[infinispan-dev] CacheStore redesign: no XA cache stores
cotton-ben
ben.cotton at ALUMNI.RUTGERS.EDU
Wed Jul 31 00:43:50 EDT 2013
> [...] , but I don't understand why the fact that it's
running on a different process is limiting in any form.
You are correct, it is not limiting. XA is process locality
independent. Individual TXN participants (heterogeneous or
homogeneous) register as XA resources (via JTA) with a central TM
(which, if JTS compliant, supports XA). The TM then basically
implements a classic 2PC to bound the scope of the TXN processing and
outcome. An example of an XA transaction with heterogeneous
participants could be a database (viewed by the TM as a
resource=javax.sql.XADataSource) and a Queue (viewed by the TM as
resource=javax.jms.XAQueueConnection).
BTW, though not done in the JCache 1.0 draft, an ideal Java API in
support of Cache as XA participant will be realized when JSR-107
provides something like a javax.cache.XACacheSource.
--
View this message in context: http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-CacheStore-redesign-no-XA-cache-stores-tp4027770p4027772.html
Sent from the Infinispan Developer List mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130730/721102c5/attachment.html
More information about the infinispan-dev
mailing list