Hi Dean
You raised an interesting point which I had never think of it ...

On Tue, May 26, 2009 at 5:42 PM, Dean S. Jones <[email protected]> wrote:

>
> As I have posted here numerous times, you will one day regret having
> "domain objects" used in your GUI. Better to factor down to the few UI
> "display" generic models ( tables, trees, forms, etc )


Do you mean we should avoid passing domain objects (or the DTOs) to the GUI?

Instead of returning the domain objects, the RPC service should return the
"models"?
For example if I want to display the user's details on a table, the RPC
service should return a list of strings containing the user details instead
of a list of users (List<User>)?


It would be very helpful if you are able to show me some examples, thank
you!


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
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