Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC Vs JAX-WS

 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to know the differences between JAX-RPC & JAX-WS web service & I google the same topic.

I noticed three major differences,

- JAX-WS support asynchronous & message oriented web service
but JAX-RPC does not

- JAX-WS binding data (data binding define in JAX-B) & support all (data) type of XML schema
but JAX-RPC uses Java type binding, supports 90% XML data type

- JAX-WS uses anotation (feature of Java 5) and DD is optional
JAX-RPC DD is must

Here are the links, if you are interested to know the difference in detail,
Link 1
Link 2
Link 3

Good Luck.
 
Chintan Rajyaguru
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try Overview section here: https://jax-ws.dev.java.net/nonav/2.1/docs/UsersGuide.html

Also, chapter 1 of JAX-WS specification has a section on goals, which describes new features of JAX-WS.
 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepika Joshi wrote:I wanted to know the differences between JAX-RPC & JAX-WS web service & I google the same topic.
- JAX-WS binding data (data binding define in JAX-B) & support all (data) type of XML schema
but JAX-RPC uses Java type binding, supports 90% XML data type.

Hi,

I am curious to know data binding case which was not supported by JAX-RPC.
Can some one please share the example or some information?

Thanks....
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepika,

Please look at the following lists of types for JAX-RPC versus JAXB.

Types Supported by JAX-RPC - Binding XML Schemas

Regards,
Dan

 
Gouri SenSharma
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the following tutorial very helpful:

http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxwsrpc/index.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic