I have A class, which contains a list List. Both implements Serialization. The list type is final. I'm using both tpye in a GWT Project. A and B have to be serialized because of RTC communication.
But this isn't working. I got a message that final type can't be serialized. But if I delet the final word, the program isnt working.
(I'm using hybernate also in my project)
class A implements Serializable {
public String s1;
public final List<B> list = new ArrayList<B>();
}
class B implements Serializable {
public String s;
public int s;
}