You would use this method whenever you need to assess whether two references to an entity bean refer to the same entity bean or not.
As the behavior of the equals and hashCode methods is not guaranteed in a distributed environment, you need the isIdentical method for performing the same kind of job you would do with the equals method in a normal
Java program. You can also check out the primary key of the entity bean and base your decision on that.