title: Initialize static collection with service call in GWT
body: <p>The problem is that I need to get static data from server prior the client application will become "operable".</p>
  
  <p>So I created helper class with static variable of type List and tried to do service call within static block to server (handling onSuccess method to set the static property).</p>
  
  <p>The problem with this approach is that GWT is loading everything at once (it seems), so I may get page rendered while static data is not set yet.</p>
  
  <p>What is the right approach? I know that there is no synchronous calls to remote services, but I really don't want to make async calls to the service all the time when need static data. Perhaps I could implement some proxy, which will do real call to service when the data is needed, and then cache result - but have no idea ow to implement this. </p>