Seems somehow bad to me. Executing queries in property accessor methods 
doesn't feel right to me. this.user should by integer or the parameter 
should be a User. In case of the latter a third object (e.g. one of your 
services or JPA itself) should be responsible to fill in the correct user 
instance.

Of course in this example using a SL doesn't seem nice..but the example 
itself isn't really nice to me :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/w7QmrWCPHtAJ.
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