Re: Explicit Access to GWT Serialization Logic

2013-11-10 Thread Manikanda raj S
Thank you very much Xi, i will try your framework and will get to you if i
need any help.


On Thu, Nov 7, 2013 at 4:38 PM, Xi  wrote:

> Hi,
>
> I've made a framework (*gwt-storage, *
> https://github.com/seanchenxi/gwt-storage) to realize the "Object <->
> String" serialization/deserialization in client side, I *reused the RPC
> serialization/deserialization logic to do it*. You can check out the
> source code, (package *com/seanchenxi/gwt/storage/client/serializer*),
> maybe this can help you to find out your way.
>
> It's a pretty simple framework, the GWT RPC
> serialization/deserialization logic is asymmetrical between client and
> server, I just write a SerializationStreamWriter (more like a copy of
> *com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter*)
> for client side Object to String serialization, and I reused
> *com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader* to
> do client side deserialization.
>
> If you have any question, send me a mail. ;)
>
> Hope helpful !
>
>
> Le mercredi 6 novembre 2013 10:59:42 UTC+1, Manikanda raj S a écrit :
>>
>> I have been using GWT RPC calls until now and it was really helpful. But
>> now i wanted to split the Servlet part and Client Part of the GWT. Since
>> GWT RPC is serializing the request and response data, i need to change them
>> to XML/JSON in order to split the GWT code as client & Servlet part or if i
>> could gain access to Serialization logic, i could simply add some code to
>> use 'RequestBuilder' and then explicitly serialize/deserialize in client &
>> servlet side. Marc Hacker already requested for the explicit access to the
>> serialization logic, but he wasn't answered. Can anyone let me know how to
>> access the serialize/deserialize classes in GWT.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Explicit Access to GWT Serialization Logic

2013-11-07 Thread Xi
Hi,

I've made a framework (*gwt-storage, *
https://github.com/seanchenxi/gwt-storage) to realize the "Object <-> 
String" serialization/deserialization in client side, I *reused the RPC 
serialization/deserialization logic to do it*. You can check out the source 
code, (package *com/seanchenxi/gwt/storage/client/serializer*), maybe this 
can help you to find out your way. 

It's a pretty simple framework, the GWT RPC 
serialization/deserialization logic is asymmetrical between client and 
server, I just write a SerializationStreamWriter (more like a copy of *
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter*) for 
client side Object to String serialization, and I reused  *
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader* to do 
client side deserialization.

If you have any question, send me a mail. ;)

Hope helpful !


Le mercredi 6 novembre 2013 10:59:42 UTC+1, Manikanda raj S a écrit :
>
> I have been using GWT RPC calls until now and it was really helpful. But 
> now i wanted to split the Servlet part and Client Part of the GWT. Since 
> GWT RPC is serializing the request and response data, i need to change them 
> to XML/JSON in order to split the GWT code as client & Servlet part or if i 
> could gain access to Serialization logic, i could simply add some code to 
> use 'RequestBuilder' and then explicitly serialize/deserialize in client & 
> servlet side. Marc Hacker already requested for the explicit access to the 
> serialization logic, but he wasn't answered. Can anyone let me know how to 
> access the serialize/deserialize classes in GWT.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Explicit Access to GWT Serialization Logic

2013-11-06 Thread Manikanda raj S
I have been using GWT RPC calls until now and it was really helpful. But 
now i wanted to split the Servlet part and Client Part of the GWT. Since 
GWT RPC is serializing the request and response data, i need to change them 
to XML/JSON in order to split the GWT code as client & Servlet part or if i 
could gain access to Serialization logic, i could simply add some code to 
use 'RequestBuilder' and then explicitly serialize/deserialize in client & 
servlet side. Marc Hacker already requested for the explicit access to the 
serialization logic, but he wasn't answered. Can anyone let me know how to 
access the serialize/deserialize classes in GWT.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.