Yes Op zo 4 dec. 2022 14:01 schreef <[email protected]>:
> [email protected] > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/google-web-toolkit/topics> > Google > Groups > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview> > Topic digest > View all topics > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/google-web-toolkit/topics> > > - List or ArrayList/concrete type > <#m_-3498534033173789625_group_thread_0> - 1 Update > > List or ArrayList/concrete type > <http://groups.google.com/group/google-web-toolkit/t/e0fdfd3fe8a251ad?utm_source=digest&utm_medium=email> > Hua Zhang <[email protected]>: Dec 04 03:30AM -0800 > > Is this 'concrete type' als valid for a DTO object in GWT-RPC? > > For example, I have a TestDTO object, which needs to be transferred via > GWT-RPC. > > > > > > > > *public class TestDTO implements IsSerializable { public > ArrayList<String> data; public List<String> operation() { > return null; }}* > > If I understand correctly, data field needs to be a concrete type. How > about the method operation, can I return here a generic List interface? > > Best regards, > > Hua > > > Back to top <#m_-3498534033173789625_digest_top> > You received this digest because you're subscribed to updates for this > group. You can change your settings on the group membership page > <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/google-web-toolkit/join> > . > To unsubscribe from this group and stop receiving emails from it send an > email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CADZAz1YbJw5dogU3WTt20b3P87M_O9vmrs6J9LDKknHMHQv5Bw%40mail.gmail.com.
