thanks for your quick answer, I will update the code as your guide. but I am confusing whether this warning result in the exception that any data can't be retrieved from server side in Gwt version 1.5.3, as I mentioned, my app worked fin in gwt v1.4.60.
David On Aug 19, 5:37 pm, Paul Robinson <[email protected]> wrote: > On 19/08/11 09:14, David wrote:> twu question: > > 1. what difference? > > public interface State {} > > > and > > > public class State implements Serializable { > > MyType type; > > String string; > > FOO foo; > > BAR bar; > > } > > It's just a matter of taste, of which one you prefer. Generally it's better > to have a base class/interface that each rpc parameter will extend/implement > if your object model will support it. > > > > > 2. what difference between Serializable and IsSerializable? -- > > I think support for implementing Serializable was added in GWT 1.4. It means > you don't have to have GWT classes (ie IsSerializable) in classes that are > otherwise GWT-free and so helps supportcodesharing with non-GWTcode/libraries. > > See the GWT docs on > serialization:http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat... > > Paul -- 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.
