Improve developer experience by allowing WildFly Swarm applications to inject an instance of a JAX-RS client, with default or custom configuration, as well as to inject a WebTarget instance with the host address annotated. Examples:
1- Using CDI extension or similar approach, allow developers to configure and inject a JAX-RS client. This can then allow other fractions like Jaeger to piggy back on the framework and configure the JAX-RS as appropriate.
2- Direction injection of WebTarget to make a call:
3- Developer can optionally configure WebTarget with the same annotation:
4- Instead of a web address, can use property key to look up the destination from externally configured source, e..g, project-defaults.yml: