Category Archives: java

Java.util.logging vs. slf4j

A bit of History At the time the now discontinued log4j was the most commonly used logging framework for java sun decided to implement JSR 47: java.util.logging. There were a lot of discussion, but it seems not been fruitful. java.util.logging … Continue reading

Posted in java | Tagged , , , | Leave a comment

Drag & Drop with Selenium

Using Selenium for web-gui tests is really nice. You can record your workflow with the excelent selenium plugin for firefox and use them to write your own test. The only problem seems to be Drag&Drop. The senenium runner has some … Continue reading

Posted in java, Testing | Tagged , , | 1 Comment

Logging with SLF4J and Guice

After getting angry at the java.util.logger once again i was thinking how to replace it with the SLF4J logger. Although Guice provides a very nice internal binding to java.util.logger, slf4j does offer a much nicer syntax. The devil is in … Continue reading

Posted in guice, java | Tagged , , , | 2 Comments

Easymock … or taking the pain out of (j)unit tests

Easymock provides easy mocking for junit tests, this blog entry describes how to use them efficiently. Continue reading

Posted in java, Testing | Tagged , , , | Leave a comment