Seam Exception Handling

This entry is part 1 of 2 in the se­ries Seam, JSF, and Rich­Faces: Prac­tices and Approaches

This is the first in a se­ries of posts gath­ering to­gether best prac­tices and common ap­proaches for de­vel­oping ap­pli­ca­tions using Seam, JSF, and Rich­Faces. This par­tic­ular post will cover the Seam de­clar­a­tive ex­cep­tion han­dling fea­ture.
Read more »

Seam Validation on the Fly

This entry is part 2 of 2 in the se­ries Seam, JSF, and Rich­Faces: Prac­tices and Approaches

In prac­tice, the classic JSF val­i­da­tion ap­proach usu­ally vi­o­lates DRY (Don’t Re­peat Your­self), since most “val­i­da­tion” ac­tu­ally en­forces con­straints that are part of the data model all the way down to the data­base schema de­f­i­n­i­tion. How­ever, Seam pro­vides sup­port for model-​​based con­straints de­fined using Hi­ber­nate Val­idator. More­over, you can use Hi­ber­nate Val­ida­tors for your bean to­gether with the data model.
Read more »