Migrating a GWT AppEngine App to a Chrome offline app

104 views
Skip to first unread message

Vishal Singh

unread,
Jul 12, 2012, 12:42:01 AM7/12/12
to google-we...@googlegroups.com
I  have made a enterprise application using GWT and AppEngine. There are some set of customers who want the data to be stored locally only for security reasons.

I am planning to develop an Chrome offline app by using most of the current code. I have to change my current data server layer ( AppEngine) to something locally. There is lot of GWT code written which I would like to reuse in my offline app. The question is can this be all done ?  As I understand the GWT layer should just work in my offline app. I  think the hard problem is the data layer.

Any thoughts on the above problem will be appreciated.


Vishal

Ashwin Desikan

unread,
Jul 12, 2012, 1:31:05 AM7/12/12
to google-we...@googlegroups.com
Vishal,

What options have you considered so far? Check out html5 offline Mode. This maybe a good way to store data offline and probably sync to the server if your customer wants the data to be available online. 

One issue with offline Mode would the data would be cleared if the user cleans up his browser cache/ temp files. 

~Ashwin

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/G_FefTZQcQoJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Vishal Singh

unread,
Jul 12, 2012, 3:15:11 AM7/12/12
to google-we...@googlegroups.com
Ashwin - I am still considering various options. You have a point with offline clearing of cache. I would think that with offline storage like IndexedDB  would not be deleted if the user clear the cache. At least the user will be prompted if an application data is going to be cleared. I am not sure how it works.
My main point is I really do not want to invest in another technology for building a local app. I would want to use all the GWT code written so far. Also it should be easy to update chrome apps. This should simplify the distribution also.


Also I think I would have to use hybrid approach of storing data in cloud. But I have the challenge of security. I would may be need to encrypt data using a key which only resides locally. There are lot of unknowns and I would have to figure out.

Vishal


On Thursday, July 12, 2012 11:01:05 AM UTC+5:30, Ashwin Desikan wrote:
Vishal,

What options have you considered so far? Check out html5 offline Mode. This maybe a good way to store data offline and probably sync to the server if your customer wants the data to be available online. 

One issue with offline Mode would the data would be cleared if the user cleans up his browser cache/ temp files. 

~Ashwin

Sent from my iPhone

On Jul 12, 2012, at 10:12 AM, Vishal Singh <singh...@gmail.com> wrote:

I  have made a enterprise application using GWT and AppEngine. There are some set of customers who want the data to be stored locally only for security reasons.

I am planning to develop an Chrome offline app by using most of the current code. I have to change my current data server layer ( AppEngine) to something locally. There is lot of GWT code written which I would like to reuse in my offline app. The question is can this be all done ?  As I understand the GWT layer should just work in my offline app. I  think the hard problem is the data layer.

Any thoughts on the above problem will be appreciated.


Vishal

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/G_FefTZQcQoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsub...@googlegroups.com.

Alain Ekambi

unread,
Jul 12, 2012, 3:39:17 AM7/12/12
to google-we...@googlegroups.com

Have you looked at something like titanium desktop or adobe air ? With them u could reuse 99% of the code you have right now

To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NDBgxaQCT8MJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages