Tuesday, September 10, 2013

GWT-RPC: Passing a reference to another serializable type

Hello.

I have a RPC service which needs to reference another serializable class in it's result. Since it's impossible to serialize `Class` we just pass the full name. The client then has to lookup the Class instance by the given class name. A generator does index the needed class names during compilation.

I was wondering if there is a better way to do this because GWT RPC has already a mechanism to lookup classes by name interally I thought I could reuse this.


Thanks in advance,
Johannes

--
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/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate