A little late getting to this post...but here's what we've determined is the best practice. Keep the state of your application on either of the two ends of your application stack. By that I mean either on the client, or in your database (assumes you have one). If you don't have a database, then you've answered your question really, state in the client is the only way to go. Standard computer science logic applies here, you store state in your known singletons, and you can guarantee a single client and a single data repository. Typically, you could have n server instances and many people have tried and most have failed to use whatever slick technology is available to span sessions across multiple servers (or whatever)
On Mar 23, 1:47 pm, "Clint Gilbert" <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > In case you're still on the fence, I suggest you keep as much of your state > as possible > (preferably all of it) on the client. It's just easier. You can think of an > instance of > your EntryPoint class being around while your app is open in a browser window > or tab. > That class has fields, and there's your state. GWT apps are a lot like > desktop apps in > that way. > > stsch wrote: > > Hi, > > > I have just started with GWT. What are the approaches to develop a > > stateful GWT application? Could any of the experts please summarize > > this a bit for a beginner and maybe point me/us to some reference > > material? > > > Thanks, > > -StSch- > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFJx+dlrZoE3ArapxERCFwZAJ0XrijghlJyN9vjwBbr7vvZfyYhLQCfdCqb > 1165OOIC2BnZqyrj9YeLTZA= > =5aRG > -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
