Synchronization issues with DTOs

 when using gwt rpc with gwtp, you create a action and result pair and a handler.

Usually you pass dtos back and forth between the client and the server. 

For the call to work , the dtos should implement a few things :

1. It should implement the serializable interface (and all members should also implement it) 

2. It should have an empty c'tor. 

3. Generics are not supported. 

4. Only concrete classes (ArrayList as opposed to List) 

 

If this is implemented, the rpc round trip should be successful. 

 

Sefi