I have searched this topic on google a bit and seen some best practices. But I need some specific advice. I am working on a J2EE app that has servlets/Struts2/Call to DAO\'
use java util logging package its easy to use can be declared with every property method at backend while on front end where you want to make error visible to user show it using h:message tag in xhtml or jsf or also with f:ajax error handling tag