Found in GWT Release: All
Detailed description: We need to look into removing the IsSerializable interface as a criteria using RemoteServices. Having this interface makes interoperability with existing POJOs impossible.
It is better to roll this up into the next revision of GWT RPC; which should take place post 1.4.
I'm going to get shot for this.
Workaround if you have one: None
Links to the relevant GWT Developer Forum posts:
Comment #1
Posted on Apr 24, 2007 by Swift HippoShot? People have been requesting this for some time. Let me be the first to say, +1.
Thanks b
Comment #2
Posted on Apr 24, 2007 by Swift LionRelated to http://code.google.com/p/google-web-toolkit/issues/detail?id=21
Comment #3
Posted on Apr 27, 2007 by Happy Bird(No comment was entered for this change.)
Comment #4
Posted on May 12, 2007 by Grumpy DogHi,
I've come up with an easy workaround to make serialization work for my project without polluting DTO's with marker interfaces.
All you need to do is put the attached file under com/google/gwt/emul/java/io in gwt-user.jar.
This will make GWT compiler think that every classes marked with java.io.Serializable are serializable.
Cheers,
Tamas
Comment #5
Posted on May 12, 2007 by Swift PandaThe combination of the addition of java.io.Serializable to emulated classes [http://code.google.com/p/google-web-toolkit/issues/detail?id=21&can=2#c19] and the fact that Serializable is now equivalent to IsSerializable [http://code.google.com/p/google-web-toolkit/issues/detail?id=933&can=2#c2] means that cserveny.tamas' proposed workaround is totally redundant. While I can't see a reason why it wouldn't work for any prior releases, GWT 1.4RC and later have solved this problem already.
-Joshua Yanchar
Comment #6
Posted on Oct 25, 2007 by Swift HippoHi,
will you remove the IsSerialization interface for the release 1.5 ? now we have to define if we have to develop to wrap our dto from EJB to GWT, implementing IsSerializable... but if you remove IsSerializable in the next Step then we'll wait for this one.
We have tried to migrate from 1.4.10 to 1.4.60 and as notice the issue 1605, the Serializable interface can't be used in the 1.4.60 version for dto.... it's a real problem for us because we can't stay officialy in a beta version .......
Thanks
Elvio
Comment #7
Posted on Oct 25, 2007 by Massive RabbitSee the update to issue 1605. java.io.Serializable does work as long as the RemoteServiceServlet can find the serialization policy file.
Comment #8
Posted on Apr 9, 2008 by Massive ElephantI believe this has been dealt with.
Comment #9
Posted on Oct 21, 2008 by Helpful Lion(No comment was entered for this change.)
Comment #10
Posted on Dec 21, 2009 by Happy Ox(No comment was entered for this change.)
Comment #11
Posted on Jul 2, 2010 by Grumpy MonkeyKeeping IsSerializable as a GWT only serialization marker for those that desire GWT serializable classes, but don't want to implement java.io.Serializable, which marks a class for both GWT and Java serialization.
IOW, no immediate plans to remove IsSerializable.
Status: NotPlanned
Labels:
Type-Defect
Category-RPC