Test application for Java, using JBoss 7