For some reason, I am attached to model classes using List as Collection Type, and I would like to use a client-side model. However, GWT, of course, does not serialize java.util.List. However, all List implementations in this model are based on ArrayList. So is it possible to tell the GWT that List is an ArrayList?
Edit GWT fails at compile time, since a possible candidate for List is also java.util.Collections.SingeltonList - which cannot be compiled.
I am using GWT 2.1 and Java 1.6.
source share