code: private void writeObject(java.io.ObjectOutputStream out) throws IOException
      {
          out.defaultWriteObject();
  
          // Write out header information.
          out.write(EYECATCHER);
          out.writeShort(PLATFORM);
          out.writeShort(ivActualVersion);
  
          // Write EJBHome to output stream using HandleDelegate object.
          HandleHelper.lookupHandleDelegate().writeEJBHome(ivEjbHome, out);
  
          // If actual version is V1, then we need to write the V1 data.
          if (ivActualVersion == Constants.HOME_HANDLE_V1)
          {
              out.writeObject(ivInitialContextProperties);
              out.writeUTF(ivHomeInterface);
              out.writeUTF(ivJndiName);
          }
      }
docs: p113380 - rewrite entire method of product interoperability.