aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes transaction management in part 2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "transaction management in part 2?" Watch "transaction management in part 2?" New topic
Author

transaction management in part 2?

deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
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

Joined: Mar 08, 2010
Posts: 152
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.


SCEA 5, SCJD,SCWCD,SCJP,PMP,IBM-SOA Solution designer,IBM-XML
deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
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

Joined: Feb 16, 2010
Posts: 109
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


SCEA 5, SCJP 6 My SCEA Experience
Maverick Grotto
Greenhorn

Joined: Sep 22, 2005
Posts: 18
I didnot use any transaction management in my solution either.
sivan jai
Ranch Hand

Joined: Feb 24, 2010
Posts: 115
me too. Would advise to stay away from any XA stuff.
deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
Thanks for the advise Guys, will think over it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transaction management in part 2?