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?
This topic is archived. No further replies will be accepted.Other recent topics