Posts made in May, 2009

  

Java Code Examples Available

I have added a new project called Java Examples to my Software page. This project contains the source code used as examples in the following articles:

Working with Java 5 Annotations
Parsing and Generating XML with Java
Advanced Uses of Java 5 Enums
A Tale of Bad Exception Handling in Finally Blocks in Java
Automatically Populating Audit Columns in Hibernate
Simple [...]

Java-Based Configuration of Spring Dependency Injection

At the heart of the Spring Framework is its dependency injection capabilities provided by its inversion-of-control container. Traditionally the configuration of dependencies has been done in one or more separate XML files. In these files you need to specify code-specific constructs such as the concrete classes to use as implementations of interfaces. It has always [...]