1 Reply Latest reply on Jul 5, 2002 10:43 AM by E. A. Graham Jr.

    Where should I validate my attributes?

    Carlos Augusto Grahl Newbie

      Hi, all!

      I'm new to Jboss and Patterns. I was reading the 'Core J2EE patterns' book (great book!), and I have a question:

      Where should I put my attributes validation (like InvoiceDate > today, etc..)...?

      I can put it in the presentation level (on the validate() function of struts, for example). But I need to put it on the server-level. I don´t know where.. Maybe on facade, on a session bean, etc..


      Anyone can help me, please?


      Carlos Augusto Grahl