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

isIdentical() on stateless session beans?

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the result of isIdentical() on stateless session beans which are from same home?
 
Nileesha Bojjawar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yamini,
isIdentical() on stateless session beans return "true" always. As far as the server is concerned all the stateless session beans coming form the same home are identical, which is not the case for the stateful session beans as they store individual client states, and hence in case of Stateful session beans its always false. On an entity bean it might return tru or false based on which entity the beans are refering to.

Hope that helps

Good Luck
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic