It's not a secret anymore!*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes isIdentical() on stateless session beans? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "isIdentical() on stateless session beans?" Watch "isIdentical() on stateless session beans?" New topic
Author

isIdentical() on stateless session beans?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
what is the result of isIdentical() on stateless session beans which are from same home?
Nileesha Bojjawar
Ranch Hand

Joined: Oct 10, 2003
Posts: 85
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


Nileesha<br />SCJP 1.4, SCBCD, SCWCD.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: isIdentical() on stateless session beans?