Techniques for Handling JSF Exceptions, Messages and Contexts.
Dwight Deugo · 2006
Abstract- JavaServer Faces is a new technology that helps developers build web applications using Java. Rather than generating stack traces as responses to invalid client requests, in this paper we describe techniques for gracefully handling checked and unchecked exceptions and HTML status codes in JavaServer Faces applications. As part of our solution we describe how to create messages for the user as responses to errors. Since it is never advisable to have your business layer know which application framework your user interface layer is using, we also describe a method for making objects and messages from the business layer available to the user interface layer without coupling the former to the latter.