Hi Doug
I am wondering if it may be possible to generate abstract models of
root resource classes from the Java classpath and pick them up
dynamically. This is what Web Beans can do for contracts.
Do you know anything about this?
Potentially it might mean in the longer term we can avoid using APT
with Java source files (currently i don't think we use anything more
from APT that we cannot get using Java reflection) and thus make
tooling and configuration much easier. This would also resolve a
defect 10 [1] that Nam has logged.
That does not mean that in the shorter term we should not stop work
on a APT provider to the abstract resource model. The runtime
approach may not be feasible and it is always good to have more than
one concrete use-case we have implementation experience with to
create a good abstraction.
Paul.
[1]
https://jersey.dev.java.net/issues/show_bug.cgi?id=10