0 Replies Latest reply on Nov 12, 2005 5:29 PM by Mark Sobkow

    Equivalent method for isIdentical() ?

    Mark Sobkow Newbie

      An EJBObject in 2.x has support for isIdentical( EJBObject other ), which makes it possible to determine if two references are for the same bean. But with EJB3 the objects are closer to POJOs and don't derive from EJBObject.

      Is there any way of similarly comparing object references with EJB3?

      I can get away with doing straight-forward instance comparison for local objects (both session and entity beans) (i.e. if( refA == refB ) ), but I can't seem to find any info on doing so for remote references, nor for comparing a local reference with a remote reference.