mr_john_smart's blog

A Short Primer on Java Enums - part 2

In the first part of this article, we looked at the basics of how to use enums in Java 5. In this part, we look at some more advanced use cases, including how...

6 replies - 3936 views - 05/19/08 by John Ferguson Smart in Blogs

A Short Primer on Java Enums - part 1

In his JavaOne talk this year, Josh Bloch gave some very useful tips about using enums in Java. Here is my take on enums, and how to use them to represent...

2 replies - 1545 views - 05/14/08 by John Ferguson Smart in Blogs

An Ode to JavaOne

With JavaOne coming up next week, I thought this little tribute might be approriate. The Coder To the tune of 'The Gambler', by Kenny Rogers

2 replies - 1252 views - 05/02/08 by John Ferguson Smart in Blogs

Cleaning Up Spurious SpringIDE Warnings

I've been using SpringIDE for my Spring applications for a while now, and it is a very nice tool. It makes visualising your Spring configuration files,...

1 replies - 2108 views - 04/08/08 by John Ferguson Smart in Blogs

Java Power Tools - out soon!

The much-awaited Java Power Tools will be out soon, really! It's now looking like the book will be on the shelfs in the second half of April. If you're in a...

0 replies - 2268 views - 04/05/08 by John Ferguson Smart in Blogs

On the subtle uses of Hamcrest tests

Hamcrest is a great little library for making your unit tests more concise and more readable, but sometimes there are a few surprises...

1 replies - 1000 views - 04/01/08 by John Ferguson Smart in Blogs

The new Maven/Eclipse integration - Part 1

Creating a new Maven project in EclipseA new and greatly improved version of the Maven 2 Eclipse plugin has just come out. In a series of short articles, I'll...

6 replies - 4084 views - 03/19/08 by John Ferguson Smart in Blogs

Every Build You Break

Just for a bit of fun - Roy Osherove sings about Continuous Integration and Agile Development in "Every Build You Break".

0 replies - 1884 views - 03/13/08 by John Ferguson Smart in Blogs

Cool ways to use Hudson - voice control

Paul Duvall, from Stelligent, has been experimenting with using voice commands to control a build server. A neat idea!

2 replies - 1820 views - 03/11/08 by John Ferguson Smart in Blogs

Using Hudson environment variables to identify your builds

So your CI server now automatically deploys your application to an integration server. You've even configured it so that you can manually deploy to the QA...

0 replies - 2379 views - 03/09/08 by John Ferguson Smart in Blogs

Java Power Tools has a cover

The Java Power Tools book finally has a cover!

0 replies - 194 views - 03/09/08 by John Ferguson Smart in Blogs

"Continuous Integration" wins the JOLT award for Best Techincal Book 2007

That great book on Continuous Integration theory and practice, Continuous Integration: Improving Software Quality and Reducing Risk by Paul Duvall, Steve...

0 replies - 1563 views - 03/09/08 by John Ferguson Smart in Blogs

Continuous Integration build strategies - stage your builds!

So you've got hundreds of tests, but they take ages to run. You have a Continuous Integration server, but it takes an hour to tell anyone when there's a...

0 replies - 2240 views - 03/03/08 by John Ferguson Smart in Blogs

Java Power Tools podcast on JavaWorld

A little while back I had a ball of a time doing an interview with my good mate Andy Glover about the upcoming Java Power Tools book. It was a fun,...

0 replies - 458 views - 02/28/08 by John Ferguson Smart in Blogs

User rights in Hudson - what I really need

When Hudson first came out, it had only the most basic user authentication schema. Administrators could do everything, and everyone else could only sit and...

5 replies - 1407 views - 02/27/08 by John Ferguson Smart in Blogs