Look for hessian serialization on this pages: http://hessian.caucho.com/doc/hessian-overview.xtp http://caucho.com/resin-3.1/examples/hessian-serialize/index.xtp
On Fri, May 20, 2011 at 12:52 PM, Riccardo Cohen <r...@architectedulogiciel.fr > wrote: > Hello > I'm using Hessian to exchange data between server and client. That's > fine and reliable. > Now I need to store these objects (rather complex sometimes) in a blob > or text in the db. They are a bit too complex to be stored in a simple > sql table with ejb > > I first thought of an xml serialization. But in fact I thought also that > Hessian is serializing this object for transport with absolutely no > problem, and I may use this functionnality to store the object. > > My question is : is it possible to call something like : > > byte[] Hessian.serialize(myobject) > > and in the other side > > myobject=Hessian.deserialize(byte[]) > > Thanks a lot. > PS:I'm using resin 3.2.1 and 4.0.13 > > -- > Riccardo Cohen > Architecte du Logiciel > http://www.architectedulogiciel.fr > BP 77536 > 37075 Tours Cedex 2 > +33 (0)6.09.83.64.49 > Membre du réseau http://www.reflexe-conseil-centre.org > > > _______________________________________________ > hessian-interest mailing list > hessian-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/hessian-interest >
_______________________________________________ hessian-interest mailing list hessian-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/hessian-interest