Thanks for the reply Thomas :) Your blogs and writings were very necessary
to my understanding of the new technologies.
Got time for another similar question re: request factory design?

Am I right in thinking that a DAO layer is the correct place for the extra
business logic associated with server side pre/post commit operations not
necessarily altering the database like spawning a 'welcome new user' email
task?

Also have you seen a JSR-303 Bean Validation extension that will guarantee
uniqueness in a field (like email  address0?


On Sat, Mar 12, 2011 at 2:34 AM, Thomas Broyer <[email protected]> wrote:

> onFailure should containg the getMessage() of the exception you threw on
> the server side.
>
> You can tweak it by providing your own ExceptionHandler to the
> RequestFactoryServlet (extend it and use its constructor taking an
> ExceptionHandler).
>
> onViolation will only be called if your entities do not pass JSR-303 Bean
> Validation, which is checked before calling any service method.
>
> --
> 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.
>



-- 
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M.
Andretti

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