Mar
12
I Miss my Treo
Posted March 12, 2010 by Keith McMillan | 2 Comments
Last year, I retired my Palm Treo 755. It was a sad moment for me, but I felt that, with the new WebOS on the Pre and Pixi, PalmOS was a dead platform, and I needed to move on. I’d been using PalmOS for a long time, having originally carried a Palm V way back when they were new. I feel like I’m missing a friend now. Read more
Mar
1
Just Enough vs. Just In Case
Posted March 1, 2010 by Keith McMillan | 7 Comments
It’s amazing to me the lengths people will go to in order to have something “useful” to do at work. The problem is, in their quest to have something to do, they tend to make more work for, and slow down, the rest of us. Read more
Feb
10
Can Big Shops Be Agile?
Posted February 10, 2010 by Keith McMillan | Leave a Comment
I spent the last two years working for a Very Large Insurance Company, and before that I’ve worked with a number of different sized companies, with various sized development organizations. It’s got me thinking: just how easy is it for a big development shop to be agile? Read more
Jan
26
Is it Agile, or Chaos?
Posted January 26, 2010 by Keith McMillan | 4 Comments
Every so often I’ll run into a product owner, project manager or other stakeholder who thinks that “agile” is the best thing since sliced bread. But it’s not really for the reasons you’d consider healthy. “We can change what we want at any time, because we’re being Agile!” they say. Read more
Jan
5
Temptations of an Agile Project: But that’s Easy! Can’t we just do it?
Posted January 5, 2010 by Keith McMillan | Leave a Comment
Some ideas that seem perfectly sensible are really disasters waiting to happen, and agile teams are not immune. I’ve started to notice some frequent mistakes that inexperienced, and sometimes not so inexperienced, teams make when they’re trying to be agile. These things seem like perfectly good, common sense ideas, but they have undesirable consequences, and we’re going to see what those consequences are.
Sometimes teams get too enthusiastic, and while enthusiasm is a good thing, it can get out of hand. The temptation to add additional bells and whistles to a story in the sprint backlog can be a temptation that’s hard to resist, but resist we should. Why, you ask? Read more
Dec
14
Temptations of an Agile Project: Let’s Make the Sprint Longer
Posted December 14, 2009 by Keith McMillan | 2 Comments
Some ideas that seem perfectly sensible are really disasters waiting to happen, and agile teams are not immune. I’ve started to notice some frequent mistakes that inexperienced, and sometimes not so inexperienced, teams make when they’re trying to be agile. These things seem like perfectly good, common sense ideas, but they have undesirable consequences, and we’re going to see what those consequences are.
It’s surprising to me that making the sprint longer is such a temptation to a project, but it is. There are lots of reasons that people give for wanting longer sprints, usually it boils down to “we can’t get our work done in two weeks, but if we had three, we could get it finished.” When questioned about why two weeks isn’t enough, testing seems to be a common sticking point. “We got all the development done, but couldn’t get it tested in time.” Read more
Nov
4
Continuous Integration isn’t a tool!
Posted November 4, 2009 by Keith McMillan | Leave a Comment
I’ve gotten into several discussions in the last few months with various people who work at my current client, and a surprising number of them think that continuous integration is a tool. The conversation usually starts when someone says something like “We’d like to be doing continuous integration, but we can’t get the server set up correctly.” It’s a this point that I have to chime in and let them know they don’t understand continuous integration. Read more
Oct
14
Temptations of an Agile Project: Too Many Stories
Posted October 14, 2009 by Keith McMillan | 5 Comments
Some ideas that seem perfectly sensible are really disasters waiting to happen, and agile teams are not immune. I’ve started to notice some frequent mistakes that inexperienced, and sometimes not so inexperienced, teams make when they’re trying to be agile. These things seem like perfectly good, common sense ideas, but they have undesirable consequences, and we’re going to see what those consequences are.
We’re going to talk today about the product backlog. For those unfamiliar, the backlog is the list of functions or features that the product owner or business want in the eventual product. On a Scrum project, these are usually user stories, a sentence in what I call “Cohn Normal Form” is:
I as type of user, want to perform some function so I can receive some benefit.
For instance: “I, as a customer of the bank, want to withdraw money from the ATM, so I can buy a cup of coffee.”
Sep
14
A Refinement to Integrating Spring and Struts
Posted September 14, 2009 by Keith McMillan | Leave a Comment
Some time ago, I posted an article on how to enable dependency injection with a Spring and Struts application. In the meantime, I’ve come across an inefficiency in that article, and wanted to update my loyal readers (both of you
In the previous article, I mentioned that you create Spring beans for each of your actions in the Struts-Config.xml file. Two such beans could look like this:
<bean name=”/login” class=”com.adeptechllc.myapp.view.action.LoginAction”/>
<bean name=”/logout” class=”com.adeptechllc.myapp.view.action.LoginAction”/>
and beans such as this would work fine, except for a subtle point: because we’ve listed two different beans, but the same class, we’d actually get two instances of the LoginAction created. Since typically we want only a single instance of our actions, this could cause unexpected and difficult to diagnose problems later.
In order to only create a single instance of the LoginAction class, you can use an alias in Spring. I’ve started creating a single bean for each action, the aliasing the Struts actions to that single instance, like this:
<bean id=”LoginAction” class=”com.adeptechllc.myapp.view.action.LoginAction”/>
<alias alias=”/login” name=”LoginAction”/>
<alias alias=”/logout” name=”LoginAction”/>
You can also simply provide more than one name or ID directly in the first bean definition, but if you have a lot of URLs directed at a single action handler, I find this easier to manage.
Aug
31
What’s Wrong with Test Driven Development?
Posted August 31, 2009 by Keith McMillan | 2 Comments
I’ve recently been working on a project that is making a very determined try to use Test Driven Development (TDD). For those who are unfamiliar with the practice, rather than writing your unit tests after you write your code, you write the tests first. I’ve known about the practice for years, but this is the first time I’ve worked on a team that’s really doing it, and I’m no less puzzled than I used to be. Well, we should probably talk about first things first. Read more
Blogroll
- Ars Technica
- Dark Reading - IT Security
- Help Net Security
- InformIT
- SANS Internet Storm Center
- Schneier on Security - Dr. Bruce Schieier’s blog
- Security Info Watch
- What to Fix - Daniel Markham, fellow consultant
- Wired Gadget Lab
- Wordpress Documentation
- WordPress Planet
- Wordpress Support Forum
