Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

transaction management in part 2?

 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am working on dreamcar project. I am little unsure how do i tackle transaction in this?

Can someone give any thoughts for me to start, so i can think in some direction, right now looks like i am lost...

Thanks
 
Teja Saab
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
deepak adlakha wrote:Hi,

I am working on dreamcar project. I am little unsure how do i tackle transaction in this?

Can someone give any thoughts for me to start, so i can think in some direction, right now looks like i am lost...

Thanks



I am also working on my part 2 (Big Smokes). One of the key aspects of distributed transaction management (XA transactions) is that the transaction will only work if all parties involved in the transaction are transaction aware since passing the transaction context to a non transaction aware system is meaningless.

We will either have to make an assumption that the external third party system that you might be interacting with is transaction aware. However, in my mind, this would be an unreasonable assumption. How many web service interfaces that we see today on the internet are transaction aware? The best way would be to use a compensating transaction so that you can roll back whatever stuff was updated if the partner's transaction did not go through. It is also possible to use a technique that is commonly referred to as "Last Resource Gambit" to have a transaction when there is exactly one non transaction aware participant.

However, if you look at the SCEA study guide part 2 section (chapter 9), there is no reference to transactions and such. I would prefer not to make it more complex than it needs to be. The simple rule of thumb is that the assignment should be completed in 25 to 40 hours of effort. So squeezing in transaction management within that time frame is a bit of a stretch IMHO.
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Teja for the reply.

Ya i read somewhere about Ws-Atomic transaction. I am not sure, Will do some more research on these.
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't use any transaction management in the project itself, however in the risks and mitigation I've mentioned that XA transactions may be used. With no details about realization
 
Maverick Grotto
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnot use any transaction management in my solution either.
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
me too. Would advise to stay away from any XA stuff.
 
deepak adlakha
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the advise Guys, will think over it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic