18.2. JAX-RPC API Documentation

These first four APIs are the basic classes that participate in making a JAX-RPC call. For access via stubs, you will have an endpoint class that provides a call that returns an instance of the Stub class. (In Listing 16.7 on page 414, for example, we called the getJaxRpcStandingsIF() method of the NFLStandings_Impl class.)

If you are using dynamic proxies, you first obtain a reference to the service via the ServiceFactory. Then, you obtain a reference to the remote object by calling one of the getPort() variants. To use dynamic proxies, your client must already know specifics about the interfaces being called.

To use dynamic invocation, you create Call objects on the fly, build parameter lists for the Calls, then ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.