About Konrad Garus
List/Grid Author Archives Subscribe to the RSS feed of Konrad Garus

JPA/Hibernate: Version-Based Optimistic Concurrency Control
This article is an introduction to version-based optimistic concurrency control in Hibernate and JPA. The concept is fairly old and much has been written on it, but anyway I have seen ...

Domain Modeling: Naive OO Hurts
I’ve read a post recently on two ways to model data of business domain. My memory is telling me it was Ayende Rahien, but I can’t find it on his blog. One way is full-blown object-relational ...

Testing Spring & Hibernate Without XML
I’m very keen on the improvements in Spring 3 that eventually let you move away from XML into plain Java configuration with proper support from IDE and compiler. It doesn’t change ...

Learning to Fail
Back at university, when I dealt with much low-level problem solving and very basic libraries and constructs, I learned to pay attention to what can possibly go wrong. A lot. Implementing ...

Software for Use
Here’s confession of a full time software developer: I hate most software. With passion. Why I Hate Software Software developers and people around the process are often very ...

IO vs. NIO – Interruptions, Timeouts and Buffers
Let’s imagine a system that sometimes needs to copy a file to a few locations, but in a way where responsiveness is critical. In other words, if for some reason a file system is overloaded ...

Integrating Spring, Velocity and Tiles
I like Tiles and I heard a lot about Velocity. They seem to serve different purpose and reportedly are easily married together, so I decided to give it a shot and use them both in Spring ...


