public static Object deserializeObject(final byte[] objBytes)
      throws IOException, ClassNotFoundException {
    ObjectInputStream objIn = null;

    try {
      objIn = new ObjectInputStream(new ByteArrayInputStream(objBytes));
      return objIn.readObject();
    } finally {
      close(objIn);
    }
  }
Convenience method to de-serialize a byte array back into Object form.
<p>

@param objBytes an array of bytes constituting the serialized form of the Object.
@return a Serializable Object from the array of bytes.
@throws ClassNotFoundException if the Class type of the serialized Object cannot be resolved.
@throws IOException if an I/O error occurs during the de-serialization process.
@see #deserializeObject(byte[], ClassLoader)
@see #serializeObject(Object)
@see java.io.ByteArrayInputStream
@see java.io.ObjectInputStream
@see java.io.Serializable
geode-core/src/main/java/org/apache/geode/internal/util/IOUtils.java