-
1. Re: Distributed Transaction using OTS
tomjenkinson Nov 5, 2012 9:24 AM (in response to abyv)1 of 1 people found this helpfulHi Aby,
I do not think that Hadoop/Cassendra support enlisting as CORBA (OTS - Object Transaction Service - http://www.omg.org/spec/OTS/) resources into a transaction, though would be interested to hear otherwise.
Tom
-
2. Re: Distributed Transaction using OTS
abyv Nov 5, 2012 9:40 AM (in response to tomjenkinson)Thank You Tom..
Though it didnt sound good, was indeed a critical and important information.Looking forward for a provision to manage transactions of these sql 'less' big data systems released soon from Jboss team
-
-
4. Re: Distributed Transaction using OTS
mmusgrov Nov 5, 2012 10:23 AM (in response to abyv)1 of 1 people found this helpfulFor what it's worth neo4j provides an extension point to facilitate using third party transaction managers - ie it should be easy include neo4j resources in JBoss TS initiated transactions (but I have no experience with any other nosql databases).
-
5. Re: Distributed Transaction using OTS
abyv Jun 24, 2013 9:12 AM (in response to mmusgrov)Hi,
I have a few more queries related to OTS implementation provided by JBoss Ts :
- Does OTS implementation can be operated via JTA API.i.e whether we can manage transaction life cycle through javax.jta.TransactionManager
- If yes, how can we configure to work JBoss Jts in OTS mode.
- If no, how are resources enlisted in case of OTS implementation and how transactions are managed programmatically.
It would be of great help if you can guide me through some sample code stubs to demonstrate a entire cycle of an OTS transaction
-
6. Re: Distributed Transaction using OTS
marklittle Jun 24, 2013 9:41 AM (in response to abyv)Take a look at the release and the source repository. You'll find copious amounts of documentation and example code that will illustrate everything you need to know.
-
7. Re: Distributed Transaction using OTS
abyv Jun 25, 2013 2:37 AM (in response to marklittle)Thank You Mark,
The reference provided was realy helpful and we are looking forward to plugin the OTS implementation for our application( stand alone), in place of Jboss Jta for managing transaction ( jboss implementation of javax.jta.TransactionManager embedded within the com.arjuna.ats.jta.TransactionManager) for the following reasons :
- The transaction context can spread across different nodes( different jvms,across machines)
- The transacion context can span across multi threads
I would like to know whether we can use the same API's and change the underlying implementation to OTS mode.What i could infer from the JBoss Jts product architecture that OTS implementation is also JTA compliant, but the the guide says usage of different interface
-
8. Re: Distributed Transaction using OTS
mmusgrov Jun 25, 2013 3:02 AM (in response to abyv)There are some examples in the quickstarts that you can use to get you started, for example:
https://github.com/jbosstm/quickstart/tree/master/ArjunaJTS/trailmap
https://github.com/jbosstm/quickstart/tree/master/ArjunaJTS/recovery
-
9. Re: Distributed Transaction using OTS
marklittle Jun 25, 2013 5:49 AM (in response to abyv)Check out JTA and JTS documentation as well as JTAX module and examples.
-
10. Re: Distributed Transaction using OTS
abyv Jun 26, 2013 3:28 AM (in response to marklittle)Thank You Micheal, the examples were realy helpful in getting an overal picture of how things work.
Mark, I hav looked at the JTS documentation, even though I got answers by looking at the code and document, I need few more clarification on
- How transactions are managed in multi thread( we have tried out with suspend and resume, but need a comprehensive solution where we could manage transaction from a single point across threads)?
- Does the OTS_thread also uses CORBA internally for transaction?