google cloud datastore - GWT RPC and persistent Java objects -


first of all,

many craig excellent answer below found useful when searching original issue... ref: gwt simple rpc use case problem : code included

building on solution, how 1 overcome (seemingly gwt limitation) if leave persistable object in /shared folder craig suggests... , annotate gwt tutorials suggest...

@persistencecapable public class employee {  @primarykey @persistent(valuestrategy = idgeneratorstrategy.identity) private key key; 

gwt seemingly unable deal / import com.google.appengine.datastore.key on client side?

i have seen few ugly hacks...but nothing elegant.

any suggestions welcome, thanks

unfortunately, app engine's key class (and others) not gwt-compatible. means have retrieve object datastore, translate gwt-compatible pojo send on gwt-rpc client.

i suggest looking using objectify framework app engine. not simpler interface datastore, persistent objects uses are gwt-compatible, can send them on gwt-rpc client.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -