Wednesday, March 30, 2011

Re: RPC Problem with HashMap containing ArrayList Value

There are always some ways to solve a problem. But, from the OOP point
of view, I think, that your solution is better. I definetely have to
make a note)))

On 29 мар, 23:12, ciosbel <andrew...@gmail.com> wrote:
> I mean that instead using List<Serializable> as base type (that will create
> a serialization policy for all types that extend Serializable), you just use
> List<MyDTO> where MyDTO is
>
> public interface MyDTO extends Serializable {
>
> }
>
> then gwt will create a serialization policy only for all types that
> implement MyDTO.
>
> But if you are fine with Serializable, just use it. I think that manually
> declare all possible types is avoidable. But i'm not an expert.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate