Great Question, Im doing a similar thing, but Im using the App Engine,
but at present I cant get the datastore access to work, Ive been stuck
on that for 3 days now, and I only wanted to do that so that I could
move on to testing gears out....however it looks like that might be a
waste of time anyway! Thanks for the heads up and saving me some
time... Still want to get the datastore thing working though, thats
reallly frustrating me!

On Aug 3, 4:18 pm, Dominic Holt <domh...@gmail.com> wrote:
> Greetings all,
>
> I am currently building a GWT application that functions entirely
> offline (as in, never connects to the internet to update, sync, what
> have you). In a normal web application, you can typically run your
> application offline just as well as long as you use an application
> server that you have deployed your app in and assuming you have local
> network access to the application server.
>
> The problem inherent with GWT is that you must use GWT-RPC in order to
> call the server from the client side in order to do interesting
> things. Normally this would not be a problem, it would just be a
> server call and would make use of the local application server, but
> GWT insists on having a connection to the internet to make an RPC call
> (and I'm having a hard time understanding why this is a good idea).
>
> At any rate, Google's answer to this problem seems to be to use Gears
> to stick everything in a database. I've accomplished reasonable
> functionality by creating separate java projects that do interesting
> things, which access the Gears SQLite database used by my GWT project.
> Essentially the GWT project has to stick things into the database, the
> other projects have to read these inputs out of the database, perform
> magic with them, and then put them back in the database so that the
> GWT project can read them again. Unfortunately, this method is
> becoming increasingly cumbersome, especially with the limitations of
> SQLite and how you can only update so often without the database
> locking. Is there a way to "fake" an internet connection for GWT so
> that GWT-RPC calls will work offline? Is there a better method?
>
> Thanks very much for your time,
>
> Dominic Holt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to