This is from JAX-WS FAQ page (https://jax-ws.dev.java.net/faq/index.html#jaxwsdiffJaxRpc)
Q. What is the difference between JAX-RPC and JAX-WS ? One of the main difference between JAX-RPC and JAX-WS is the programming model. A JAX-WS based service uses annotations (such @WebService) to declare webservice endpoints. Use of these annotations obviates the need for deployment descriptors. With JAX-WS, you can have a webservice deployed on a Java EE compliant application server without a single deployment descriptor.Excuse me, but the @WebService anotation is the deployment descriptor, except now the deployment is entangled with the implementation!!!
No comments:
Post a Comment