I agree with that, i'm using a generic DTO too with a Map<String,
Object> because i don't want to bother to create an
IServiceInterfaceAsync for every RPC method i need. So telling in an
annotation to GWT which objects are likely to travel over http would
be nice.
However if we could provide something more flexible than annotation
config, it would be nice. My RPC service is part of my framework, and
i don't want to have to modify the API to mark the serializable
implemenation DTOs.
On 18 avr, 22:35, fvisticot <
fvisti...@gmail.com> wrote:
> +1, a way to specify Object to serialize would be fine !!!
>
> On Apr 17, 10:20 pm, Daniel Kurka <
kurka.dan...@googlemail.com> wrote:
>
>
>
> > this is exactly what i was thinking.
> > we need a way to specify the classes that are okay to serialiaze with the
> > service
>
> > 2009/4/17 Vitali Lovich <
vlov...@gmail.com>
>
> > > Hasn't been accepted - just opened. Anyone can open issues against GWT.
>
> > > That being said, I think there could be room for improvement. For
> > > instance, if you specify a serializable interface or serializable abstract
> > > class, you should be allowed to enumerate all the various types that can
> > > possibly go across the wire in anannotationso as to provide more