Skip to main content

JAX-RPC 2.0 renamed to JAX-WS 2.0

Posted by kohlert on May 24, 2005 at 5:28 PM PDT

JAX-RPC 2.0 (Java API for XML Based RPC) has been renamed to JAX-WS 2.0 (Java API for XML Web Services).

This was done for a number of reasons, but the main reasons are:

  1. The JAX-RPC name is misleading, developers assume that all JAX-RPC is about is just RPC, not Web Services. By renaming JAX-RPC to JAX-WS we can eliminate this confusion.
  2. JAX-RPC 2.0 uses JAXB for all databinding. This has introduced a number of source compatibility issues with JAX-RPC 1.1 because the bindings are different. The migration from JAX-RPC 1.1 to JAX-RPC 2.0 is not cookie cutter as generated Java code and schemas will be different than those generated by JAX-RPC 1.1. Although the renaming does not ease this migration, it does let the developer know that these are two separate technologies, hence the more difficult migration is more palatable.
  3. Maintaining binary compatibility with the JAX-RPC 1.1 APIs, was hindering our goal of ease-of-development. Because we had this binary compatibility requirement, many legacy APIs were exposed such as the various methods on javax..xml.rpc.Service and the javax.xml.rpc.Call. Having these legacy APIs around would confuse developers. By renaming JAX-RPC 2.0 to JAX-WS 2.0 we no longer have this binary compatibility requirement and we can rid the APIs of these legacy methods and interfaces and we can focus on a new set of APIs that are easier to understand and use.

For more information on JAX-RPC and JAX-WS 2.0 check out the JAX-RPC project

For more information on JAXB check out the JAXB project

Related Topics >>

Comments

Hi, kohlert, I'm Lemo, a dev from China Shanghai. I'm ...

Hi, kohlert, I'm Lemo, a dev from China Shanghai. I'm working on a legacy project and found that jaxrpc.jar-1.1.jar is used. I would like to view the source code of it. Under the svn location "https://svn.java.net/svn/jax-rpc~svn", I'm not sure which revision matches against the jaxrpc.jar-1.1.jar.
Could you offer me some info please? Any news is good news. :) Thank you

JAX-RPC 1.1 sources Hi Lemo, We usually created a tag ...

JAX-RPC 1.1 sources

Hi Lemo,
We usually created a tag for each release we did. My guess would be that it is the latest tag created.

Best of Luck
Doug

Hi Lemo, It has been a long, long time since I have looked ...

Hi Lemo,
It has been a long, long time since I have looked at this. We usually created a tag for every release. It would probably be the latest tag with the 1.1 version on it.

FYI, my daughter is in Shangai right now doing a study abroad program. She is enjoying her time in China.

Best of luck!

Hi, Kohlert, Sorry for my late response! Thanks for your ...

Hi, Kohlert,
Sorry for my late response!
Thanks for your answer and it helped me a lot.
I'm glad to hear that your daughter enjoyed her time in China.
My country still has many to improve, and I'm pleased to see that it's growing to be a better place.
Chinese programmers are growing too. All your selfless sharing helps us a lot and you are my idols.