code: @Override
      public boolean isIdentical(EJBObject obj) throws RemoteException
      {
          // ACK! The following implementation only works for the simplest
          // case. We're just going to rely on the ORB's implementation
          // of object equality.
  
          // This really needs a under-the-covers Remote interface to
          // allow us to obtain the BeanId of the other EJBObject to do
          // the comparison correctly.
  
          try {
              Object thisRef = container.getEJBRuntime().getRemoteReference(this);
              return thisRef.equals(obj); // d176674
          } catch (NoSuchObjectException ex) {
              FFDCFilter.processException(ex, CLASS_NAME + ".isIdentical", "151", this);
              return false;
          } catch (ClassCastException ex) {
              FFDCFilter.processException(ex, CLASS_NAME + ".isIdentical", "154", this);
              return false;
          }
      }
docs: Return true iff the given EJBObject reference is identical
  to this wrapper. <p>
  
  This method is part of the EJBObject interface. <p>