Updated some examples to work with wildfly