Monday, September 15, 2014

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

Ah come on. Just wanted to post and that yellow notification box pops up.. ;-)

This was a really bad idea. You should use the most specific types as possible in your RPC interfaces and transfer-objects (it's not news, it has always been that way, it's just become stricter over time).

I have read somewhere what it is enough to have the Async interface define the most specific type and let the service interface continue to use interfaces. However I never tried it so far, so it might not work.

-- J. 

--
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+unsubscribe@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/d/optout.

No comments:

Post a Comment