Hello,
I'm very interested to hear about how do you guys handle
business-tier-dependent validation errors in a struts+EJB application.
For example, suppose a user tries to create an account with a username
that already exists (maybe a poor example but you get the point), but
you can only figure this out in the business tier if you want to avoid
multiple RMI calls. Any best practices or examples would be very much
appreciated. The only things that i can think of at the moment is
subclassing EJBException (no clue if that would really work) or coming
up with a generic DTO as the business response (to carry error
information if appropriate).
Cheers,
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]