JBoss adaptation