Hi,
The isIdentical() mtd is used to find
1. Whether the two remote reference are same or not - Session bean
2. Whether two PK's are same or not - Entity bean.
For Stateless the mtd returns True if both references came form the same home. Same home means, from the same client. But there will be only Home.
The Home object differs from client to client ?
For Statefull Session beans, the method returns always false.
Bcoz every client has its own bean and EJBObject. So for Statefull session bean it is as per the EJBObject and bean.
For Stateless bean is from the pool but the EJBObject is a new instatnce
rite.....
So confusing...........