Jersey 2 & HK2: any way to force a class reload for every request?

142 Views Asked by At

I wonder if there is an easy way to avoid having to use something like JRebel. Is there some useful way to make HK2 inject stuff using a clean class loader instance for each new request?

1

There are 1 best solutions below

0
On

Just discovered that one only needs to start the embedded jetty maven plugin using the eclipse debugger to have instant code replacement working... cool.