Monthly Archives: February 2014

Definition of Done: or why it is very risky to say that something is done

General meaning of word done may seem obvious to everybody but once you start thinking about this, it becomes clear that done may have different meanings depending on the situation and personal point of view. In this article I would … Continue reading

Posted in Agile, Software development practices | Tagged , | 2 Comments

JSF Facelets: templates

Facelets were introduced in JSF 2.0 to resolve common inefficiencies in JSF when creating large-scale sites. Two most useful additions provided by facelets were the ability to reuse the code through templating and to create custom composite components conveniently. In … Continue reading

Posted in Java, Java EE, JSF | Tagged , , , | Leave a comment

Create temporary files and directories using Java NIO2

Temporary files and directories are very useful in many situations. One typical case is that you are writing some (usually large) file and you don’t want anybody to accidentally access and mess with it until is completely written and closed. … Continue reading

Posted in Java | Tagged , | 1 Comment

Using JUnit, JaCoCo and Maven for code coverage

JaCoCo is quite a new tool for measuring and reporting code coverage with full support for Java 7. Currently it supports instruction, branch, line, method and class coverage which is pretty anything you can expect from this kind of tool. … Continue reading

Posted in Code coverage, Java, Maven, Software development practices | Tagged , , , , , | 3 Comments