Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6869797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:36:12+00:00 2026-05-27T03:36:12+00:00

The problem is that I need to get static data from server prior the

  • 0

The problem is that I need to get static data from server prior the client application will become “operable”.

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).

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.

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:36:13+00:00Added an answer on May 27, 2026 at 3:36 am

    If you want to have some data an app BEFORE app is even loaded you’ll have to use the trick called dynamic host page: http://code.google.com/webtoolkit/articles/dynamic_host_page.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a client/server application in C#, and I need to get Asynchronous
Problem There are data gaps that need to be filled. Would like to avoid
Possible Duplicate: I need a good way to get data from a thread to
I need to get large amount of data (say 7000 records) from online database
I need to use something like get_or_create() but the problem is that I have
A problem that we need to solve regularly at my workplace is how to
I have an interesting SQL problem that I need help with. Here is the
The problem that I am having has to do with the need to keep
The problem is this: I have multiple competing threads (100+) that need to access
I've got a problem about onbeforeunload recently that I need to pop up a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.