Another element in creating robust Java applications is the proper use of exceptions. Exceptions are a mechanism for indicating when something has happened in your program that is unusual, unexpected, well ... <I>exceptional.</I> Exceptions provide one of the best mechanisms for writing robust, resilient code that is capable of dealing with the unexpected.
CodeRover Browser for Java is intended to serve as a tool for unraveling the complexity of Java applications. The CodeRover Browser is a standalone, desktop source-code browser for C/C++ and Java. The product captures relationships between source-code entities in a personal database for any combination of C, C++, and Java.
Prakash explores different ways to obtain database connections when developing with EJBs. He discusses the life cycle of EntityBeans, as well as various strategies for obtaining and releasing connections at different points in the EntityBean's life cycle. Finally, he looks at the advantages and disadvantages of the strategies and provides recommendations for selecting an appropriate strategy based on different situations.