Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb transaction  RSS feed

 
trupti nigam
Ranch Hand
Posts: 640
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have read in a book that:
Once you have invoked a method on a bean and that bean is associated with a transaction, you can't call another method that would involve it in a different transaction (or no transaction). You first must complete the original transaction with a commit or an abort.
My question is, here we are referring to a bean instance right? I mean another instance of the same bean can invoke a method with different transaction?
thanks in advance..
trupti
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, they are referring to a bean instance.
Kyle
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!