please have a look at http://jbws.dyndns.org:8280/hudson/job/jBPM-Container-Matrix/
I believe this is relevant for the jbossws project as well.
With http://jbws.dyndns.org:8280/hudson/job/jBPM3-JDK1.5/ for example you have a parametrized hudson run that allows you to specify a target container and database.
You are welcome to borrow from
The source is at
Sorry, about the old signature - I am getting this fixed.