-
Core Java
Using PowerMock to Mock Constructors
In my opinion, one of the main benefits of dependency injection is that you can inject mock and/or stub objects…
Read More » -
Enterprise Java
Spring 3.1 Caching and @CacheEvict
My last blog demonstrated the application of Spring 3.1’s @Cacheable annotation that’s used to mark methods whose return values will be stored…
Read More » -
Enterprise Java
Spring 3.1 Caching and @Cacheable
Caches have been around in the software world for long time. They’re one of those really useful things that once…
Read More » -
Enterprise Java
Spring Profiles and Java Configuration
My last blog introduced Spring 3.1’s profiles and explained both the business case for using them and demonstrated their use…
Read More » -
Enterprise Java
Spring Profiles in XML Config Files
My last blog was very simple as it covered my painless upgrade from Spring 3.0.x to Spring 3.1.x and I…
Read More » -
Software Development
Approaches to XML – Part 3 – JAXB
If you remember from Part 1 and Part 2, I’m covering different approaches to parsing XML messages using the outrageously corny scenario…
Read More » -
Software Development
Approaches to XML – Part 4 – XMLBeans
If you remember from Part 1, Part 2 and Part 3, I’m covering different approaches to parsing XML messages using…
Read More » -
Software Development
Approaches to XML – Part 2 – What about SAX?
Part 1 introduced the idea that there are different ways to approach XML parsing and highlighted the point that XML…
Read More »