updated pom.xml to deploy on jboss; added functionalities