Hi Alessio,
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
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3HudsonSetup
The source is at
http://svn.jboss.org/repos/jbpm/jbpm3/trunk/hudson
Sorry, about the old signature - I am getting this fixed.