Okay thanks mr..at http://globalcyber.cu.cc

On 6/12/12, Ryan McFall <[email protected]> wrote:
> One of the things I don't like about the design of the RequestFactory
> is the fact that client-side proxies need to extend EntityProxy; I
> think I understand why this is needed, but it makes it more difficult
> to write code that can operate on both proxies and actual domain
> objects.
>
> One way of getting around this is to have the domain objects implement
> the proxy interface.  This means that the domain objects must
> implement EntityProxy, giving a stableId method that shouldn't
> actually be called, but allows utility code to treat proxies and
> domain objects in the same way.
>
> Before going down this route, I'm wondering if there are reasons it
> won't work that I haven't thought about.
>
> Thanks!
> Ryan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to