-
Core Java
Why Math.round(0.499999999999999917) rounds to 1 on Java 6
Overview There are two types of error representation error and arithmetic rounding error which are common in floating point calculations.…
Read More » -
Agile
Infrastructure, Technical Debt, and Automated Test Framework
I’ve had several conversations in email and with clients recently that have all been about this question: “What do we…
Read More » -
Software Development
What Refactoring is, and what it isn’t
Sometimes a programmer will come to me and explain that they don’t like the design of something and that “we’re…
Read More » -
Enterprise Java
Quartz scheduler plugins – hidden treasure
Although briefly described in the official documentation, I believe Quartz plugins aren’t known enough, looking at how useful they are.…
Read More » -
Enterprise Java
Lazy JSF Primefaces Datatable Pagination – Part 1
Today we will do JSF datatable pagination with a Lazy List with a view scoped managed bean. What all those…
Read More » -
Software Development
Humour Time: Programming Puns
Though not strictly puns, I tried to make them sort-of funny: – What are you doing on this bench with…
Read More » -
Enterprise Java
JAXB and Unmapped Properties
JAXB (JSR-222) is configuration by exception, meaning that there is a default mapping applied to domain objects. This means that…
Read More » -
Core Java
Java 7 #8: NIO.2 File Channels on the test bench
Another blog post about new JDK 7 features. This time I am writing about the new AnsynchronousFileChannel class. I am…
Read More » -
Enterprise Java
JSF 2, PrimeFaces 3, Spring 3 & Hibernate 4 Integration Project
This article shows how to integrate JSF2, PrimeFaces3, Spring3 and Hibernate4 Technologies. It provides a general project template for Java…
Read More »