【1】Object >> byte[]. 约束:该对象必须可序列化,且其包含的各属性对象,也必须可序列化 注意:注释掉的部分为hessian实现方式 public static byte[] objectToBytes(Object obj){ byte[] result = null; ByteArrayOutputStream byteOutputStream = null; Obje... Read More
posted @ 2012-06-26 13:27 技术草根女 Views(2739) Comments(0) Diggs(0) Edit