Thursday, December 20, 2012

using autobeans in a gwt-rpc call

I have a small application where I am using autobeans extensively both on server and gwt side. I have an issue though with gwt-rpc calls, autobeans are apparently not serializable which causes gwt to fail with:

com.google.gwt.user.client.rpc.SerializationException: Type '$Proxy85' was not included in the set of types which can be serialized by this SerializationPolicy

Is there any obvious way that autobeans could be sent client->server side? Gwt-rpc is not good enough? Sending it over as a JSON string imposes some manual labor, seems overkill, would rather just go with POJOs in that case.

/Cenk

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-wRCqG4lMKkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate