Re: gwt rpc client side serialization

2009-11-04 Thread Carl Pritchett
Is it possible to send the objects to the server via RPC, serialise using XStream or Jackson and then send back the serialised strings to the client to store in gears? This does require having sever side servlets though, which may defeat your purpose. Carl. On Oct 28, 7:15 pm, akhil

Re: gwt rpc client side serialization

2009-10-28 Thread akhil
Hi, Thanks for the info guys, I was looking for something simpler. Rocket-gwt is not usable in GWT 1.6 and 1.7. And using protocol buffer needs me to touch my pojos, which i want to avoid at any cost. Writing my own serialization seems to be the only option as I need to support even circular

Re: gwt rpc client side serialization

2009-10-12 Thread Alex Bertram
Check out http://code.google.com/p/rocket-gwt/wiki/JsonSerialization this will allow you to serialize into and out of json, which you can store in the gears database. Alex On Sep 16, 1:15 pm, akhil akhil.kod...@gmail.com wrote: Hi, I am trying to serialize agwtpojo on the client side and

Re: gwt rpc client side serialization

2009-09-21 Thread Sumit Chandel
Hi akhil, You should be able to accomplish what you're looking to do using the GWT Gears library, as Etienne pointed out above. I recommend downloading the library from the link below and checking out the DatabaseDemo packaged in the samples directory once you extract the archive. The demo covers

Re: gwt rpc client side serialization

2009-09-21 Thread Sumit Chandel
Sorry, I just re-read your question and noticed that you're actually asking about something else, namely using the RPC serialization mechanism manually in your client-side code. Unfortunately, this isn't currently possible, at least not directly. The GWT RPC serialization mechanism is asymmetric.

Re: gwt rpc client side serialization

2009-09-17 Thread akhil
Hi, My intent is to use gears, but I have very complex objects (about 100 attributes). I don't want to create columns of all the 100 attributes (or prepare ORM). I just want to store 5 columns in the DB and serialize the object and store it as a string or blob. On Sep 16, 8:50 pm, Etienne

gwt rpc client side serialization

2009-09-16 Thread akhil
Hi, I am trying to serialize a gwt pojo on the client side and store in the DB of gears. Is there any way/api to do the serialization/deserialization? Is is possible to invoke serialization api cleanly? Akhil --~--~-~--~~~---~--~~ You received this message

Re: gwt rpc client side serialization

2009-09-16 Thread Etienne Neveu
Hi, I am not using Gears, but I heard of this project: http://code.google.com/p/gwt-google-apis/ You will mainly be interested in the Gears Library. Here is the documentation: http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=GearsGettingStarted Regards, Etienne On 16