public static InputStream writeObject_Hessian(Serializable obj) throws IOException{
ByteArrayOutputStream bos=new ByteArrayOutputStream();
Hessian2Output out=new Hessian2Output(bos);
out.writeObject(obj);
out.flushBuffer();
System.out.println(bos.size()+","+Arrays.toString(bos.toByteArray()));
return new ByteArrayInputStream(bos.toByteArray());
}
public static void readObject_Hessian(InputStream in) throws IOException{