Monthly Archives: August 2007

Unit Testing and The Way of Testivus

Recently Ben posted an entry and presentation on test driven development. An amusing take on this can be found in The Way of Testivus which provides the wisdom of ancient masters on testing. My personal favourite is: The pupil asked … Continue reading

Posted in Tools | 6 Comments

How to Close JDBC Resources Properly – Every Time

In a Java program, we sometimes need to make sure we close a resource after we’ve finished using it. Common examples are files, Hibernate Sessions, JDBC Connections, Statements and ResultSets. The database-related ones are particular important – if we don’t … Continue reading

Posted in Java | 7 Comments