Atomikos Forum

Atomikos as global transaction manager

Hi,

I have the following use case:
I have client server application. Server is some kind of storage engine. It stores data in falt files. I'm sending data (stock prices) from the client (application cluster node acting as a client to storage engine cluster).

Storage engine cluster is independent from main application cluster (both are running on JGroups framework, main app is implemented in fabric3).

I want to create transaction in application and commit it to the storage engine - I will use transactional file write,...
Maybe I will even put it to cache on storage engine - in one transaction.

So I want to create transaction on client, commit it to server, on server parts of transaction will be transactional file write (JBoss Transactional IO or apache commons transactions) and transactional put to cache (Infinispan)...

If some part of that fails, rollback...

Is there some example how to do that?
Tomas Fecko Send private email
Tuesday, August 03, 2010
 
 
Hi,

This is a ExtremeTransactions use case with distributed subtransactions... You can't do this with TransactionsEssentials.

Best
Guy Pardon Send private email
Tuesday, August 03, 2010
 
 
Mind you: even with ExtremeTransactions you would still have to commit on the client, too. Commit is needed where you start the transaction (although the server can commit its subtransaction part - transparently).
Guy Pardon Send private email
Tuesday, August 03, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics