code: private void writeObject(java.io.ObjectOutputStream out) throws IOException {
          if (svLogger.isLoggable(Level.FINER))
              svLogger.logp(Level.FINER, CLASS_NAME, "writeObject", toString());
  
          // if ivServer object is null throw and exception because there is no server side
          // Future object to communicate with.
          if (ivServer == null) {
              throw new EJBException("No Server side Future object exists.");
          }
          out.defaultWriteObject();
          // write out the header information
          out.write(Constants.CLIENT_ASYNC_RESULT_EYE_CATCHER);
          out.writeShort(Constants.PLATFORM_DISTRIBUTED);
          out.writeShort(Constants.CLIENT_ASYNC_RESULT_V1);
  
          // write out the data
          out.writeObject(ivServer);
          out.writeBoolean(ivBusinessRmiRemote);
      }
docs: /*
  readObject and writeObject implementations