So...
> 1. Does ProgrammerTO meet the criteria for GWT serialization? If
> you're not sure, post the class definition and we can figure it out.
I'm not sure of this, the class gwt.client.to.ProgrammerTO is:
public class ProgrammatoreTO {
private long id;
private String name;
private String surname;
private String email;
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSurname() {
return surname;
}
public void setSurname(String surname) {
this.surname = surname;
}
public String toString() {
String ret;
ret = "\n Id programmer : " + id + "\n name : " + name +
"\n Surname : " + surname + "\n email : " + email;
return ret;
}
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null)
if(this.getName() == null && this.getSurname() == null
&&
this.getEmail() == null)
return true;
return super.equals(obj);
}
}
> 2. Is ProgrammerTO javac-compiled and available on the server's classpath?
When I make changes to the class ComunicationServiceImpl.java launch
within /src/ the following command to update the classpath:
javac -Xlint:unchecked -cp .:/home/user/workspace/GWT/project/gwt-
user.jar:/home/user/workspace/GWT/project/gwt-dev-linux.jar:/home/user/
workspace/GWT/project/gwt-servlet.jar gwt/server/
ComunicationServiceImpl.java
To the classpath must also add the path ProgrammerTO?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---