scoping makes it much easier for you to share initialization code so you can avoid creating a
lot of extra objects you don't need and reduce the amount of code you have to write.
In this chapter, we learned about the JAX-RS Client API. Client interfaces manage global
configuration and the underlying socket connections you'll use to communicate with a ser-
vice. WebTarget represents a URI that you can build and invoke HTTP requests from. If you
use the Client API in some form or another.