Whatever class you specify, GWT needs to look for all serializable
subclasses so that it can generate the javascript necessary to serialize
them.

Specifying ArrayList in the API means GWT has to do less work when it
comes to creating the serialization code compared to specifying List (or
even worse, Collection).

hezjing wrote:
> Hi
>
> If I follow Ray Ryan presentation (page 18, 19), he mentioned that
> it's good to be specific of the implementation:
>
> ArrayList<X> is favor than List<X>
>
> that is to ensure that the GWT-RPC will pick up the right implementation.
>
>
> I'm just curios of how the GWT-RPC will pick up the wrong implementation?
>
>
> -- 
>
> Hez
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to