What is the difference between JAX-RPC and JAX-WS?
A. One of the main differences between JAX-RPC and JAX-WS is the programming model. A JAX-WS-based service uses annotations, such as @WebService, to declare web service endpoints. Using these annotations obviates the need for deployment descriptors. With JAX-WS, you can have a web service deployed on a Java EE-compliant application server without a single deployment descriptor. JAX-WS also provides many additional features, such as asynchronous callback support. Refer to the JAX-WS specification for more information.