I have application with the following architecutre:
- I have a local model, which consists of long lived objects which represent entities that users work with
- I have a server where a counterpart of the model is implemented
- I have a synchronizer on the client which synchronizes this models with GWT RPC
I've taken look at RequestFactory and like its approach very much especially on how much less boilerplate code I need. However, AFAIU, every time I want to send a request to the server, I have to create a new request context and call edit for every object I want to change there. As a result, I can't keep one instance of each client object I have, and can't add a listener to it. What can I do about it?
Regards,