Im trying to use CDI extensions to discover jaxrs resources at runtime
and automatically publish them under different base URIs in a Java SE
environment. Applications should not need to extend
javax.ws.rs.core.Application themselves if possible.

I have read RestEasy documentation and javadoc but failed to find any
obvious way to modify the @ApplicationPath at runtime.

One idea that im exploring is to try generate
javax.ws.rs.core.Application and set the @ApplicationPath base URI
programmatically, maybe by using an AnnotatedType CDI extension, and
publish that as a org.jboss.resteasy.spi.ResteasyDeployment.

Also been looking at org.jboss.resteasy.core.Dispatcher and

Are there other/better ways to do this?


Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Resteasy-users mailing list

Reply via email to