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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access