Move a pojo to the serve side package (RCP)

2011-01-07 Thread Kidowell
Hey I'm developing an app using GWT and Google App Engine. I need the pojo Book to be in the serverside package, rather than in a client side. (This is because Im storing appengine.api.datastore.Text attribute, and this package must be imported in the serverside as otherwise GWT wont compile it).

Move a pojo to the serve side package (RCP)

2011-01-07 Thread Gal Dolber
Slim3 recently got Appengine core data types emulation for gwt rpc support(still on trunk). Not sure what persistence layer you are using. But if you need to work with Book on the client and want to use gae Text type, I think the only solution is to make it gwt compatible. Best On Friday,

Re: Move a pojo to the serve side package (RCP)

2011-01-07 Thread Cesar Ruiz
Hey Gal, thank you for replying. Indeed I need to work with Book typed gae Text in the client. When you say: The only solution is to make it gwt compatible. Can you please explain to me how to make it gwt compatible. Thank you in advanced. -- Ces. On 7 January 2011 18:17, Gal Dolber

Re: Move a pojo to the serve side package (RCP)

2011-01-07 Thread Gal Dolber
To make a random class gwt-compatible for me is: gwt emulation custom serializer using super-source. As gwt needs the sources to of every class to compile (and in this case Text doesn't provide the source) you need to provide a similar implementation for gwt to use on the client. Then you need to

Re: Move a pojo to the serve side package (RCP)

2011-01-07 Thread Cesar Ruiz
Thank you a lot Gal, it really helped. Regards. On 7 January 2011 19:42, Gal Dolber gal.dol...@gmail.com wrote: To make a random class gwt-compatible for me is: gwt emulation custom serializer using super-source. As gwt needs the sources to of every class to compile (and in this case Text