Handling Exceptions in Enterprise Java Applications

Handling Exceptions in Enterprise Java Applications

One of the most common reasons for software defects is poor exception handling. The more complex the Java application, the more difficult it can be to track down the root cause of a bug. An exception at the service or database layer may manifest itself as unpredictable behavior at the user interface level. Simple coding errors or unexpected inputs may result in unnecessary and confusing error messages. The net result is an application that doesn’t meet the user’s expectations.

These types issues can be avoided by handling exceptions properly. This session looks at examples of what happens when exceptions aren’t handled, and how you can avoid unexpected defects by following a few key principles and using some discipline. It also examines the importance of establishing logging standards, and looks at how to properly configure error pages and use the error handling facilities in JSF and Java EE applications.

Video producer: http://33degree.org/