Oddjob 1.2 New Features – Part 1

It’s coming to that time again. That time where I draw a line in the README file and call it a release. Being the only developer on a project that doesn’t have a large user base, a release is really just a state of mind. Like the flying ants that decide on mass to pour forth from their nests without the aid of any social media – it becomes time for a release.
Continue reading

SQL Scripts With Green Ticks

Running SQL install scripts can be tedious. They get so far, and then fail. Finding out where they failed isn’t always easy and when the problem is fixed, there is a choice – drop the schema and re-run, or comment out what has been applied already, and re-run. I once spent an entire morning in this fix/re-run cycle for a particularly large and badly maintained script. It was very ungratifying work. What I need, I thought, are some friendly green ticks, some positive visual feedback to aid job satisfaction.
Continue reading

A Custom Property in Spring

(Please note there as a postscript to this post: A Simpler Custom Property in Spring)

<context:property-placeholder> is a really easy way to provide property replacements in Spring configurations with values from a standard Java Properties file. But what if you don’t want a property hard coded into a file – a clear text password for instance? Spring provides all the bits and pieces to write your own property replacement. Let me introduce my CustomPropertyConfigurer.
Continue reading

Another Take on Java Scheduling

While many are looking forward to the holidays, those that must support batch based applications may not be so enthusiastic as they anticipate the numerous support calls for jobs that failed because they shouldn’t have run or for jobs that should have run but didn’t. It was after one such lost long weekend a decade ago that I decided to have a go at writing my own scheduling system.
Continue reading

The Road To Maven

Maven is one of those projects I’ve looked at periodically over the years but I’ve never been persuaded by the payback of a learning curve that looks pretty steep from the bottom of a mound of XML. On my most recent day trip to Maven, however, I found a reason to stay.
Continue reading

Shapes Don’t Draw

Shapes don’t draw. The circle on the jotter next to me didn’t draw itself, I drew it – and it’s not very round! There’s a misconception (as advocated by many Object Orientated Programming 101 courses) that shapes draw. I believe this leads to some problem designs. Here’s one such example.
Continue reading