CHAPTER 14 Error Handling, Logging, and Debugging Portlets

Error handling, logging, and debugging are important aspects of the portlet development process, and can increase the reliability and overall quality of your applications. This chapter explains how to work these elements into your WebSphere Portlet Factory (WPF) applications, using a combination of Eclipse, log4j, and the default WPF builders. By the end of this chapter, you will have a good understanding of the different error handling, debugging, and logging techniques available in WPF. You will also create a sample application that applies some of these techniques to make the application more robust.

The files discussed in this chapter are available for download from ibmpressbooks.com/title/9780137134465 ...

Get Rapid Portlet Development with WebSphere Portlet Factory: Step-by-Step Guide for Building Your Own Portlets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.