Monthly Archives: September 2005

Testing DAOs and Business Facades

One of the tough decisions many people face regularly with DAOs and business facades is how best to test them. At work our current solution is that we let DAOs interact with the database which we've prepopulated with DBUnit and … Continue reading

Posted in Java | Comments Off on Testing DAOs and Business Facades

Forking a dependency with a patch

Dion (whose blog I enjoy) wrote an interesting blog entry about forking a dependency in Java versus Ruby. For example say you need to patch Hibernate or ActiveRecord with a fix that hasn't been released yet. Then you want to … Continue reading

Posted in Java | Comments Off on Forking a dependency with a patch

Zero downtime deploys with Tomcat

One of our systems administrators at work setup our zero downtime deployment solution with Tomcat which so far has worked pretty well for us. We needed a zero downtime deployment solution because we strive to practice agile development and therefor … Continue reading

Posted in Java | 2 Comments

One artifact/file per build process

Building on my most recent post, another objective we have at work is that each build process (which maps to one CVS module) generates one and only one artifact (e.g. a single WAR, plain old Jar, or a Javaapp Jar). … Continue reading

Posted in Java | Comments Off on One artifact/file per build process

One WAR for development, staging/QA, and production

One of our objectives at work with our build process is that whichever artifact (jar/war) gets built, that it can be exactly the same everywhere, whether it's running on your workstation, cruise-control, qa staging server, production, etc. In other words, … Continue reading

Posted in Java | Comments Off on One WAR for development, staging/QA, and production