• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session bean and transaction

 
JigaR Parekh
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why Session Bean that are involved in transactions can not be passivated?
 
Mahesh Kumaraguru
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by JigaR Parekh:
Why Session Bean that are involved in transactions can not be passivated?


QUOTE from

http://www.phptr.com/articles/article.asp?p=26148&rl=1

Furthermore, if the bean is in the middle of a method call or involved in a transaction, the container cannot passivate it. (A transaction defines the boundaries of uninterruptible database operations...

and Passivation is interrupting the current operation and preserving Bean state to resume later.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic