When I create a new method for an existing REST webservice it works like a charm without recompiling nor restarting jboss. But when I create a new WebService from scratch it doesn’t: it needs to restart JBoss.
I’m using JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) with Resteasy 3.0.6.Final. It looks that JaxRasActivator does not get reloaded when I recompile the newly created service:
@ApplicationPath(“/api/v1”)
public class JaxRsActivator extends Application {
/* Intentionally left blank */
}
If we try to invoke our REST ws we get a 404 error, it can’t find the path of the new web service.
How could we workaround this?
Thanks a lot.