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

system exceptions + transaction rollback

 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the spec p.376, it is said that in the case of bean methods running in the context of a transaction that the container started immediately before dispatching the business method, when a system exception arises,
if the client executes in a transaction, the client's transaction may or may not be marked for rollback

On which actions (only Container's one) does it depend on? May the bean provider play a role in this choice?
Thanks for your answers,
Regards,
Cyril.
 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, it seems to be the role of the bean provider to write something like this:
remote client

local client
 
Sati Sidhu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys, I was also looking for the same answer.

Regards,

Sati.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic