I am trying to implement a very simple AsyncCallback RPC system, and I
believe I have 99% of it correct. I have the UserService and
UserServiceAsync on the client side, and the UserServiceImpl on the
server side. Through debugging, it appears that the only current
issue is the error message I get when the server tries to respond with
a list of Users:
"Caused by: com.google.gwt.user.client.rpc.SerializationException:
Type 'com.gwt.ca.client.model.User' was not included in the set of
types which can be serialized by this..."
However, I am not doing anything crazy in the User model. The model
is as follows:
package com.gwt.ca.client.model;
import com.google.gwt.user.client.rpc.IsSerializable;
public class User implements IsSerializable {
private Integer id = -1;
private String course = null;
private String title = null;
private String date = null;
private String book = null;
...
I have setter and getter methods for all of those variables and a
constructor. Why would this not be serializable, and what is the
solution to fixing this?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.