- List or ArrayList/concrete type - 1 Update
Hua Zhang <hzhan...@gmail.com>: 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
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to google-web-tool...@googlegroups.com.