JAX-RPC defines three programming models that Java applications can use to access Web services: generated stubs, dynamic proxies, and DII. Of these, the one you're most likely to use is generated stubs. Dynamic proxies and DII are interesting but less practical for most development efforts. That said, this chapter pays a great deal of attention to all three programming models so you can become familiar with each, and apply them as you see fit.
The purpose of the generated stub programming model is to provide object façades for accessing Web service endpoints. In other words, generated stubs make Web service endpoints look like local Java objects. A generated stub is created by a utility called a