The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes JAX-RPC Vs JAX-WS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Professional Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "JAX-RPC Vs JAX-WS" Watch "JAX-RPC Vs JAX-WS" New topic
Author

JAX-RPC Vs JAX-WS

Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
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

Joined: Aug 19, 2001
Posts: 341
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.


ChintanRajyaguru.com
SOADevelopment.com - Coming soon!
Deepika Joshi
Ranch Hand

Joined: Feb 24, 2009
Posts: 268
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

Joined: Jul 09, 2001
Posts: 1044
Deepika,

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

Types Supported by JAX-RPC - Binding XML Schemas

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
 
subject: JAX-RPC Vs JAX-WS
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com