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

 

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com