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 provide a custom serializer to make it compatible with gwt's rpc system.
You may can see it better looking at this diff: http://code.google.com/p/slim3/source/detail?r=1479 Best On Fri, Jan 7, 2011 at 1:28 PM, Cesar Ruiz <crui...@gmail.com> wrote: > 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 <gal.dol...@gmail.com> wrote: > >> 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, January 7, 2011, Kidowell <crui...@gmail.com> wrote: >> > 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). >> > >> > How to move a Class from a client to the serverside. >> > >> > Thank you very much in advanced. >> > >> > regards. >> > -- >> > Kido >> > >> > -- >> > 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-tool...@googlegroups.com. >> > To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> . >> > For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > >> > >> >> >> -- >> Guit: Elegant, beautiful, modular and *production ready* gwt applications. >> >> http://code.google.com/p/guit/ >> >> -- >> 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-tool...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > > > -- > Cesar Ruiz. > > -- > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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-tool...@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.