randombits-org / gwt-dispatch

Implements a reusable 'command pattern' API for GWT.
10 stars 1 forks source link

Have Action,Result implement IsSerializable instead of Serializable #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Actions and Results are not expected to be reused outside of the GWT
serialization context, so implementing Serializable brings no value.

Furthermore, implementing IsSerializable removed the need to maintain
a serialization policy, which eases deployment and upgrades.

Original issue reported on code.google.com by robert.munteanu on 13 Jul 2010 at 9:54

GoogleCodeExporter commented 9 years ago
Why do we have to use Result interface at all? It is only extending 
Serializable. 

It would be simpler to use only IsSerializable as proposed.

Original comment by wen...@gmail.com on 20 Jul 2010 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by robert.munteanu on 23 Jul 2010 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by robert.munteanu on 23 Jul 2010 at 12:45