Java
-
5 tools for Java developers
A way to improve the Java code we write is to work with the best tools. So, let’s check out…
Read More » -
Access private fields in unit tests
First of all, let me say out louder, you need to design your code to be testable, so you test…
Read More » -
Selecting level of detail returned by varying the content type, part II
In my previous entry, we looked at using the feature of MOXy to control the level of data output for…
Read More » -
Migrating Spring MVC RESTful web services to Spring 4
1 Introduction Spring 4 brings several improvements for MVC applications. In this post I will focus on restful web services…
Read More » -
Hardware Transactional Memory in Java, or why synchronized will be cool again
Overview Hardware Transaction Memory has the potential to allow multiple threads to speculatively access the same data structure at the…
Read More » -
Java: Work out the serialVersionUID of a class
Earlier in the week I wanted to work out the serialVersionUID of a serializable class so that I could override…
Read More » -
Java: Exception translation with AspectJ
Within this blog post I describe how you can use AspectJ to automatically translate one type of exception to another.…
Read More » -
Hibernate Facts: How to “assert” the SQL statement count
Introduction Hibernate simplifies CRUD operations, especially when dealing with entity graphs. But any abstraction has its price and Hibernate is…
Read More » -
More Units with MoreUnit
Just over a year ago I wrote a post about working with JUnit in Eclipse. One of the commenters recommended…
Read More »