aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAX-RPC Vs JAX-WS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
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: 1180
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.
Gouri SenSharma
Ranch Hand

Joined: Apr 16, 2008
Posts: 57
I found the following tutorial very helpful:

http://www.ibm.com/developerworks/webservices/library/ws-tip-jaxwsrpc/index.html


SCJP 5.0, SCBCD 5.0
Working towards OCMJEA, cleared part 1,2 and 3. Yet to attend training
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-RPC Vs JAX-WS