Exciting life of Entity Proxies in contexts of RequestFactory


Since  GWT 2.1  we can use special Request Factory interface to implement  data access layer to server side objects.  There are several pages  which describe how to use it properly. For me the most resourceful are :

– official explanation from GWT site http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

– dynatablerf project, which shows request factory in action: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/?r=8464

– google groups where a lots of issues have been solved and questions have been answered : http://groups.google.com/group/google-web-toolkit

– blogs and tutorials, e.g. Thomas Broyer blog: http://tbroyer.posterous.com/(moved)  http://blog.ltgt.net/

I am using those pages really often, but still, sometimes  I am running into problems which are not described anywhere.. E.g. I was having some issues while using RequestContext’s and EntityProxies  in some typical user workflows. After learning about how it works and how it should be used correctly I have decided to share this knowledge, because I was not able to find anywhere before. I will not explain how the request factory works, if you need to make first steps on that, follow the link  http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html.

Read more of this post