DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17150>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17150 Validation rules not reusable across layers, eg. EJBs ------- Additional Comments From [EMAIL PROTECTED] 2003-02-18 04:53 ------- Validation rules can apply across layers. These validation rules are often business rules. ActionForms may belong to Struts but there's no reason why they shouldn't be usable by and generated by the EJB (or Model) layer. Consider CRUD operations on a business object. For updates, we could provide the presentation layer with existing data wrapped with the appropriate validation logic. This data is then modified by the presentation layer and re- validated before persisting to the business object. Why should the presentation layer need to know about business rules at all? This change would facilitate experimentation in this area. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]