Jan
16
2009
A while back I was trying to do some initial tries at Ruby as a scripting language with JRuby. That means that I had a Java system, but needed to do some util scripting for the system, and wanted to avoid those pesky bash scripts. Because I had a Java system and Maven infrastructure in [...]
Tags: bdd, cucumber, jruby, maven, ruby
Jan
03
2009
If you are familiar with Ruby on Rails you know what Migrations are. The same thing can and should be done in Java, it’s just not that well known.
Why migrations? Because it enables you to automatically update any environment you have to the latest version. And this is done through source control closely tied to [...]
Tags: agile, database, dbdeploy, evolutionary-databases, Java, migrations
Jan
03
2009
Ferris sent me a message a little while back and asked if I had any input on handling databases, so it gave me a reason to sit down and try to write something about my experiences. I’m not too happy about the flow of these articles, but I figured it was better to get something [...]
Tags: agile, database, evolutionary-databases, refactoring
Dec
12
2008
This is probably fairly well known, but I couldn’t find any doc on it when I searched so I’ll put it up here.
First off: Don’t load your Spring Context in your tests unless you absolutely have to. Some integration tests should load it, but keep it to a minimum. Loading the context is expensive, especially [...]
Tags: maven, spring, unit testing
Dec
05
2008
This post from Greg Wilkins suggests moving Jetty to the Eclipse foundation. There is a tiny risk that such a move would make everything more bureaucratic, but I think it will be a good decision if they decide to do it. It will increase the attention, and the Eclipse brand will make it a bit [...]
Tags: eclipse, jetty
Dec
01
2008
I read this post about Clover and using it to minimise the number of tests run. A nice idea, so I decided to have a go at it.
What it does is use the test-coverage that it was originally written to do, to figure out which tests exercise which classes. So when you change Class1 and [...]
Tags: clover, cobertura, compile, Java, maven, optimization, spring, tdd, test
Oct
12
2008
I’ve looked into some of the regexp plug-ins for Eclipse today, and QuickREx is, in my opinion, the best one out there.
If you have other favourites, please inform me:-)
The contributors to this project has also implemented a plug-in for developing XPath expressions.
Sep
18
2008
So JavaZone 2008 is over. Had a blast, and saw lots of cool stuff. It was a bit crowded some times, and a bit too many talks was full, but all in all good. Just a short summary for on the good stuff:
Heidi Arnesen Austlid on Open Source in the public sector – The government [...]
Tags: conference, design, Java, javazone, lean, open source
Sep
06
2008
It seems like Facebok is pretty agile in how it handles new features and roll outs. According to an article on the High Scalability site they actually do major releases every week. One of the things that struck me was this:
Be Innovative, Not Safe. Fear of failure often shuts down the organizational brain and makes [...]
Tags: agile, continious production, operations, rollback, testing
Sep
01
2008
A quote of a quote in a InfoQ article on the release of GWT 1.5:
Key point: GWT gives you a lot of leverage, but it isn’t intended to be a “walled garden” in any way. Abstractions always leak, so it’s better to embrace that fact. We intentionally make it easy for you to punch through [...]
Tags: abstraction, design, framework, gwt, Web