for jboss use resteasy instead of jersey