Test and examples for JBoss application server