Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session synchronziation

 
Praveen Kumar Mathaley
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi paul,
Stateful session bean is allowed to implement SessionSynchronization method but Stateless Session bean is not allowed! why?
Stateless session bean can also be a part of transaction , i.e a transaction started by stateful session is propagated to stateless session when a method is called in a transaction or else we can specify to start new transaction everytime a method is called...

that's why it's unclear to me as of why the stateless session bean is not allowed to implement the session synchronization...

thank you in advance...
Praveen
[ July 26, 2005: Message edited by: Praveen Kumar Mathaley ]
 
chao cai
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateful Bean can update the state value for integrity,but Stateless Bean has no state need to update.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic