Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JAX-RPC Vs JAX-WS

 
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.
 
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....
 
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

 
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
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic