Spring Batch

Spring Batch – Replacing XML Job Configuration With JavaConfig

Jonny Hackett Java, Spring, Spring Batch, Technology Snapshot 4 Comments

I recently assisted a client in getting up and running with a Spring Batch implementation. The team had decided to move forward with a JavaConfig-based configuration for their batch jobs instead of the traditional XML-based configuration. As this is becoming a more common approach to configuring Java applications, I felt it was time to update Keyhole’s Spring Batch series to show you how …

Java Annotations2

Processing Java Annotations Using Reflection

Jonny Hackett Java, Technology Snapshot 4 Comments

In my previous article covering Java Annotations, I outlined a recent use case and provided you with some examples of custom annotations and how they might be used. In this article, I’m going to take that a step further and give you a few examples of custom annotations and how you would process these custom annotations using the Java Reflection API. …

Annotations and Advice, By Example

Robert Rice Problem Solving, Technology Snapshot Leave a Comment

For me, its much easier to learn new concepts by way of concrete, real life examples, rather than by vague scenarios created for the sole purpose of working through a tutorial. What follows is a description of a real problem encountered in my work, and how I utilized annotations and point cut advice to implement a solution. The system I …