You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by lightbulb432 <ve...@hotmail.com> on 2006/12/19 21:45:34 UTC

Validation in validators or EJB's @PrePersist?

Where should you do validation when you have a backing bean that's an EJB
entity (in Seam)? What's the advantage of doing it in one versus the other?

Even if you don't have a backing bean that's an EJB entity (but rather a
regular managed bean), eventually that's where the form fields will be
passed through to for storage in the database, so this question applies
either way.
-- 
View this message in context: http://www.nabble.com/Validation-in-validators-or-EJB%27s-%40PrePersist--tf2848221.html#a7954487
Sent from the MyFaces - Users mailing list archive at Nabble.com.