• 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
 
You have to be odd to be #1 - Seuss. An odd little ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!