sample how to use JBossServer class