> Some people create a state object for their bean state, e.g.
> CustomerState.
> This can contain some methods that the client can use to do
> validation.
> Then add a method to your bean:
>
>     void update(CustomerState newState);
>
> It also saves on round-trips to the server.
>
My problem is to connect the database field length constraints to the Java
validation methods, whether they be implemented by SBs, EBs, or the client.

- Avi
--
s/\be(\w+)/e-\1/g;

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to