Hi Thangavel,

to serialize an object, you just need the following:
Representation entity = new ObjectRepresentation(yourObject);

To deserialize, you just need:
ObjectRepresentation objRepr = new 
ObjectRepresentation(representation);  // representation is from the 
request / response
Object yourObj = objRepr.getObject();

How to get the representation you found on 
http://www.restlet.org/documentation/ .

best regards
   Stephan

thangavel.loganat...@gmail.com schrieb:
> Thanks for your reply, If you have any samples please can you share with me...
>
> > There is an ObjectRepresentation or something like that. That's not the 
> > best REST style (because it is only useable with Java), but should do 
> > what you want.
>   
>> > I have list object in my server, How to pass list object
>> > from server to client and get that list in client side..
>> >
>> > Any help and suggestions welcome plz..

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2631047

Reply via email to