Could someone please update the article at http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable
to indicate that IsSerializable is deprecated (or de facto deprecated, or will be deprecated, or whatever)? When I read this article it seemed like GWT was encouraging the use of IsSerializable over Serializable. Is this something I should file a ticket on? On Sep 10, 12:46 am, nicolas de loof <[email protected]> wrote: > I understand the idea about some classes beeing GWT-serializable and not > Java-serializable but really can't find a valid use case. Seems more a > misconception to me - just my humble opinion ;) > > 2009/9/10 George Georgovassilis <[email protected]> > > > > > > > I was under the impression that IsSerializable had been deprecated de > > facto. John, does IsSerializable currently override the serialization > > policy or this this a proposed behavior? > > > On Sep 9, 4:27 pm, John Tamplin <[email protected]> wrote: > > > On Wed, Sep 9, 2009 at 9:06 AM, nicolas de loof < > > [email protected]>wrote: > > > > > I wonder that IsSerializable is still in trunk without a depreaction > > > > annotation. java.io.Serializable is supported by GWT-RPC since few > > major > > > > versions, maybe it's time to remove such legacy marker interface. > > > > I don't know if this is sufficient reason to keep it, but two reasons: > > > > - you might want a class to be serializable only in GWT and not in > > normal > > > Java > > > - IsSerializable means that it is always serializable, even without a > > > serialization policy file on the server. I think there are better > > ways to > > > do this sort of thing, but some people may be depending on this > > > functionality > > > > Maybe it could also extends Serializable so that it can be easier to > > switch > > > > > the related tools. > > > > Other than the first issue above, sounds like a good idea. > > > > -- > > > John A. Tamplin > > > Software Engineer (GWT), Google --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
