Multiple choice technology architecture

In which of the following ways can client invoke WebServices through JAX-WS API's?

  1. Static and Dynamic only

  2. static only

  3. Synchronous and Asynchronous

  4. synchronous only.

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

JAX-WS supports both static proxy-based invocation (generating client stubs from WSDL at compile time) and dynamic invocation (using Dispatch API at runtime). It also supports both synchronous (blocking) and asynchronous (non-blocking with callbacks or polling) invocation patterns. These represent independent dimensions - static/dynamic refers to how the client is created, synchronous/asynchronous refers to how the call is made.