I have a J2EE application front-ended by a bunch of GWT pages. When the server is starting up, it is possible that these static pages can be accessed before the services required to implement the GWT RPC calls (database etc) are available. I wondering what the best approach is to prevent a user accessing this static content before these services become available.
For the purpose of this exercise, assume that there is an isInitialized()
method somewhere. I am happy with either a page displaying an error message or simply refusing the connection.