Category Archives: How To

Maven release plugin

If you’re doing this sort of process manually it will take a while. Instead, it can be done by Maven using two goals – release:prepare and release:perform.

DbUnit and Jailer

Jailer will export data from a single table and all data that is related to it by foreign key references. This can result in far more data being scripted than expected.

Web service testing with soapUI

soapUI is an essential free tool for testing SOAP and other web service protocols. It was particularly useful for testing the SpannersWS demo as it works well with WSS.

Rounded corners in CSS / IE Tester

Fortunately IETester exists to quickly test web pages using the rendering engines of IE 5.5, 6, 7, 8 and the IE9 preview

Spring-WS and Security

Security mechanisms are notoriously difficult to implement. By their nature they’re designed to prevent something from working unless it is used exactly correctly. Having Spring-WS do the heavy lifting makes our application far more likely to work and far more likely to be secure.

Test Coverage

Using code test coverage analysis we’ve got a new metric we can use to judge the quality of our code. As with any metric though, some discretion is required… I find that this sort of tool is mostly useful to catch dumb mistakes.

DbUnit

DbUnit is a JUnit extension targeted at database-driven projects that, among other things, puts your database into a known state between test runs.

Tapestry Quickstart

As if the ten minute setup time wasn’t good enough Tapestry allows deployment of changes without having to recompile anything.

Spring-WS SAAJ problem in JBoss

If you want to make Spring-WS work against multiple JDK / JBoss environments, you may need to create multiple distributions to deal with the idiosyncrasies of each environment.

Maven 1 to Maven 2

There’s just no way to get Maven 1 to recognise a Maven 2 repo. So the only solution involves putting artifacts built using Maven 2 into a legacy Maven 1 repo.