Re: shared src folder and default constructor

2010-11-13 Thread Gaurav Vaish
Any class that participates in GWT-RPC should have a default constructor which is invoked during deserialization (on either size - server and client). The initialization code in your constructor is never trashed. It may happen that based on the data transferred, the values would get overwritten.

shared src folder and default constructor

2010-11-13 Thread d...@vide.bz
Hi, I have seen that a class that is in the shared folder should have no constructors or a default constructor. This can create problem for me, because the default constructor sometime initialize some structures. This initialization then I think is trashed, because after transfering the object fr