Skip to main content

Blog Archive for johnsmart during October 2009

Earlier on this week, we held the first ever Wellington Coding Dojo session, co-organized with the Wellington Java Users Group. It was a great session. We practiced TDD adding features a small existing application (that I'd written the morning before the session). One interesting thing was that we covered TDD across the whole web application stack, from the web interface down to the domain...
Maven 3 is promising to be the most significant upgrade since the release of Maven 2. While maintaining backward compatibility with existing Maven 2 projects, it introduces a number of powerful and compelling new features, such as a complete rewrite of the internal architecture, OSGi support and multi-language pom files. In this article, I will be giving a preview of this last feature. One...
A good build script should be self-contained, self-booting and portable. You should be able to check it out of source control and run it. No buts. Period. The rules (or tips) that follow should be self-evident and applied everywhere. Unfortunately, they are not. The following "rules" are based on issues I've encountered in existing real-world build scripts. Rule 1 - No hard-coded paths. Hard-...
I am thrilled to announce that I will be running the 'Testing and TDD for Java Developers' workshop in Melbourne on December 8-9, 2009. This is a practical and pragmatic TDD/BDD workshop, where students spend two very full days writing a real Java application using Test-Driven Development and Behaviour-Driven Development techniques along with a variety of tools, including the latest features of...
According to a recent scientific study, using TDD increases development (coding) time by 15-30%, but results in 40-90% fewer defects. This study was done with 4 different development teams, from IBM (1 team) and Microsoft (3 teams), whose development practices are nothing if not pragmatic. This actually confirms what any TDD practitioner will tell you: you spend a bit more time writing tests up...
One of the great things about Hudson is not in Hudson itself, but in its rich library of plugins, covering everything from code quality metrics to VMWare and Amazon EC2 integration! But there are so many, it's sometimes hard to choose, and new ones are coming out all the time. So in the latest issue of the Java Power Tools Newsletter, we will take a look at a top-ten of Hudson plugins - 10...
I've had a lot of enquiries about running the new 'Testing and TDD for Java Developers' course in Sydney, and now we have an official date: I will be running this course in Sydney on December 10-11, 2009. During this very practical 2-day workshop, and students spend two very full days writing a real Java application using Test-Driven Development and Behaviour-Driven Development techniques along...
One of the awesome things about Hudson is the sheer number of plugins available. In fact, if you use Hudson, make a habit of checking out the list of available plugins every month or so - there's bound to be something new that you could use! In this article, I explore two relatively new ones: the Setenv plugin and the Description Setter plugin. The Setenv plugin Many build scripts use environment...
The first session of the Wellington Coding Dojo will be held October 28, at 5:15pm. Thanks to the Wellington Java Users Group for helping to organize this session. The exact location will be announced shortly. A Coding Dojo is a place where programmers come to improve their skills, by following a pattern similar to the martial arts dojo. Participants meet a a prearranged time in a room that has...