This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Difference between Jax - RPC, Jax - WS etc

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to WebServices and would like to know:

1. What is the difference between Jax-RPC, Jax-WS etc?

2. Who provides the Jax-RPC, Jax-WS etc? Is it provided by Sun?

3. What is the difference between apache-cxf, apache-axis? What is the functioning of apache-axis, apache-cxf?

Thanks & Regards,
Vaibhav Garg
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start reading here: https://coderanch.com/how-to/java/WebServicesFaq. You need to differentiate between APIs (like JAX-RPC and JAX-WS) and implementations of those APIs (like Axis and CXF). Also note that Sun Microsystems has ceased to exist as an entity several years ago.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The main differences between JAX-RPC and JAX-WS are listed below:

SOAP 1.2 as opposed to SOAP v1.1 (backward compatible).
JAX-RPC and JAX-WS support SOAP 1.1. JAX-WS also supports SOAP 1.2.
XML/HTTP
The WSDL 1.1 specification defined an HTTP binding, which is a means by which you can send XML messages over HTTP without SOAP. JAX-RPC ignored the HTTP binding. JAX-WS adds support for it.
WS-I’s Basic Profiles
JAX-RPC supports WS-I’s Basic Profile (BP) version 1.0. JAX-WS supports BP 1.1. (WS-I is the Web services interoperability organization.)
New Java features
JAX-RPC maps to Java 1.4. JAX-WS maps to Java 5.0. JAX-WS relies on many of the features new in Java 5.0.
Java EE 5, the successor to J2EE 1.4, adds support for JAX-WS, but it also retains support for JAX-RPC, which could be confusing to today’s Web services novices.
The data mapping model
JAX-RPC has its own data mapping model, which covers about 90 percent of all schema types.Those that it does not cover are mapped to javax.xml.soap.SOAPElement.
JAX-WS’s data mapping model is JAXB. JAXB promises mappings for all XML schemas and the current JAXB implementation is much quicker then its predecessors.

Thanks a lot...
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

haley wv wrote:JAX-RPC maps to Java 1.4. JAX-WS maps to Java 5.0.


Using the word "map" here is confusing, especially as you're also using it further down with a different meaning. There is no correlation between Java versions and WS standards, apart from JAX-WS requiring at least Java 5. It needs to be said that JAX-RPC has been obsolete for a long time, and should not be used for anything new at this point.
 
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody explain this difference between JAX-RPC and JAX-WS (source):

JAX-RPC handlers rely on SAAJ 1.2. JAX-WS handlers rely on the new SAAJ 1.3 specification.


What are handlers in this case.
 
There will be plenty of time to discuss your objections when and if you return. The cargo is this 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