I use GWT to build a mobile webapp.
When I call the app on a mobile browser with a mobile internet connection, the loading of the javascript, generated by GWT, takes a long time.
So, I want to change it that way, that I first send a Start HTML-page to the client and load the GWT-javascript at background.
Is this possible?
I don’t really know about mobile apps but in a GWT app, the javascript is loaded into a html page inside a script tag:
If you want anything to appear before the loading of the javascript is done, just put it on that page as html.
example:
Here, a div tag puts a loading gif on the page that appears until all the gwt javascript has been loaded. You can put anything you want on that page before loading the javascript.
Then in your application, (on module load) replace the content of the rootpanel with your application !!