Yes, a lot actually. I was asking myself that question since I introduced in
my POJO's some TWIG annotation and didn't know if those information are
compatible with GWT-RPC Mecanism.

I'll give a deeper look into twig tomorow.

Thanks

Christian

On Tue, Mar 23, 2010 at 10:03 PM, John Patterson <jdpatter...@gmail.com>wrote:

> Hi Damob,
>
> They work perfectly together because your data models are *pure* POJOs with
> no dependencies on the datastore at all.
>
> In contrast, in JDO, JPA, Objectify and SimpleDS your data models usually
> use low-level Keys and possibly other types.  This means that you either
> need to make an extra layer of DTO's or make your UI code dependant on the
> low-level API.
>
> For example, a Band and its Musicians can be sent to GWT as a single
> object:
>
> class Band
> {
>        @Key String name;
>        List<Musician> members;
> }
>
> With all the other libraries the data model needs Keys which complicates
> things.  You might send the Band and then need to send more requests to read
> each band member from its Key.
>
> I send data directly from my data layer to my GWT client and my client code
> does not reference any com.google.appengine.* classes at all.
>
> Hope this helps,
>
> John
>
>
> On 24 Mar 2010, at 03:29, Damob wrote:
>
>  I was wondering how well those two works together and how to link
>> them.
>>
>> Thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-j...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to