Thursday, June 2, 2011

Re: Database and GWT

Are you using AppEngine? Given you mention Objectify, I am assuming
you are.

If that is the case, take a look at using RequestFactory with
Objectify.

Objectify is much lighter weight than JDO etc (faster startups) - and
so many of the posts on the AppEngine developer sites are questions
about problems with JDO/JPA. So much easier to use. Also it takes
care of a lot of the memcache stuff for you.

RequestFactory has advantages over GWT RPC as you can

1/ easily use it with Android devices(using eclipse plugins "Android
Connected Web Application feature)
2/ you only use an interfaces on the client - no more worrying about
whether your DTO's use classes that can't be used on GWT, Android and
AppEngine
3/ it only sends diffs of your updated entities - saving on bandwidth

Take a look at this even if you don't do anything with Android - was a
real eye opener for me.

http://www.youtube.com/watch?v=M7SxNNC429U

and also this one on Objectify/Request factory

http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/

On Jun 2, 12:55 pm, "J.Ganesan" <j.gane...@datastoregwt.com> wrote:
> You may use the emulated JRE (http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html
> ) to model  relationships. Specifically, you can use ArrayList (one-to-
> many) and HashMap (many-to-many).
>
> J.Ganesanwww.DataStoreGwt.com
>
> On Jun 1, 11:34 pm, purni iyer <purni.i...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Thnks for the replies.I used the serializable objects i.e objects on
> > shared side.But found many difficulties implementing them.As in I am
> > unable to set relationship one to many between my objects.I need
> > suggestion with same
>
> > On Jun 1, 11:29 pm, Barry Ard <b...@ualberta.ca> wrote:
>
> > > I found that EodSQL gave me the best bang for my buck (time invested
> > > vs usefulness).
>
> > > Download fromhttp://java.net/projects/eodsql/downloads
>
> > > and read tutorial.html in the docs directory.
>
> > > See the developers bloghttp://lemnik.wordpress.com/?s=eodsql
> > > t
> > > Good luck,
> > > Barry
>
> > > On Jun 1, 12:14 pm, purni iyer <purni.i...@gmail.com> wrote:
>
> > > > hello,
> > > > Can any one suggest me which method of applying database with GWT is
> > > > the best.I have few options
> > > > JDO
> > > > JSON
> > > > Objectifiers
>
> > > > Please suggest
> > > > Purnima

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment