• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction Management in Web Services  RSS feed

 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can we have Transaction management in web services.If so then please explain.
Can WSFL be used for Transaction Management?
Thanks.

------------------
L Goundalkar
lggoundalkar@hotmail.com
Sun Certified Programmer for Java 2 Platform
[This message has been edited by L Goundalkar (edited November 16, 2001).]
 
Andy Rodriguez
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO , wouldnt that then step on J2EE , COM+ toes ? WSFL , is basically a flow model to "choreograph" / "orchestrate" ..phew
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Skinner's mostly right. WSFL talks about coordinating web services, and has an "almost" transactional element to it, but it doesn't support, involve or mention 2-phase commit or the other kinds of things people usually mean by transactions.
In a Web Services environment the best you could hope for is to use "compensating" transactions. That way you could say that if a certain set of Web Services have already been invoked, and another one in the same flow fails, then you can issue the "compensating" transaction on the previously invoked services to "undo" the actions they did.
Of course, NONE of this is provided by tools, code, or even standards at this point. You are completely on your own in this regard...
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Andy Rodriguez
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
" The sites can build on their internal transaction and business logic environments to provide the increased flexibility. Additionally the activity service would allow for additional operational patterns beyond the traditional transactional model"
Section 2.4 of the http://www.w3.org/2001/03/WSWS-popa/paper44
I am not familiar with the Activity service JSR ...any ideas ?
 
Andy Rodriguez
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Transactional conversations - did shed some more light on this topic , interesting article , happen to skim through - Analysis for the weekend ! http://www.w3.org/2001/03/WSWS-popa/paper50
- So much to do , so little time -
 
Jim Baiter
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for this link. These are some of the E-Speak folks who have been involved with this for quite a while. I think this is an important point:
"In practice, few systems use two-phase commit in the Internet context. One reason is that, with two-phase commit, a service exposes transaction control to other services..."
Many standard concepts seem to take on a different definition in the internet setting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!