• Post Reply Bookmark Topic Watch Topic
  • New Topic

Manage Transactions across WebService calls.

 
C Shinde
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I manage Transactions with WebService.

Thanks in advance.
Regards,
Chetan
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have you considered WS-Transaction?
Here is a link to get you started, if you haven't seen it already:
https://www.ibm.com/developerworks/webservices/library/ws-transjta/
Best wishes!
 
C Shinde
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I did try reading on this sometime back. I wanted to try a simple example with this...
Though I will go through the link you provided.

Regards,
Chetan
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi C Shinde and Ivan Krizsan..

I think if you use WebService inside EJBContainer its become easier..
Because you were provided the JTA, and the transactions would be handled by EJBContainer..
We only have to inject EJB in our WebService that we've created..

please correct me if i'm wrong..

Thanks..
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Yes, WS-Transaction is only necessary if you want transactions to propagate over web service calls. It is not needed if you want to manage transactions in a backend that consists of EJBs or that does not do any remote calls.
However, the title of the question is "Manage Transactions across WebService calls", so I assumed that the person asking wanted transactions to propagate over web service calls.
Best wishes!
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok.. Thanks Ivan, its a new information for me to know about WS-Transaction..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!