Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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

JAX-WS is backward compatible with JAX-RS?

 
Ranch Foreman
Posts: 1924
13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EPractice Lab, a question "A developer is migrating all of the company's JAX-RPC services into JAX-WS."
Which are true?
A. JAX-WS is essentially JAX-RPC 2.0 and is backward compatible with JAX-RPC services.
B. Deployment descriptors from JAX-RPC can be used under JAX-WS.
C. Deployment descriptors are no longer required.
D. jaxax.xml.ws.Service is a server-side API
E. javax.xml.ws.Service is a client API.
F. sun-jaxws.xml is the standard Java EE deployement decriptor.

I believe the answer should be A, C and E.
But the given answer is C and E.
The explanation from EPractice Lab , "JAX-RPC 2.0 was renamed JAX-WS 2.0..."
By reading this statement, it is very obviously JAX-WS is essentially JAX-RPC 2.0.
Also I believe the RPC/literal mode of JAX-WS is for backward compatibility of JAX-RPC 1.0
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There never was a JAX-RPC 2, so what it might have been compatible to is a moot question. There is no compatibility between JAX-RPC and JAX-WS.
 
Himai Minh
Ranch Foreman
Posts: 1924
13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.
So, in JAX-WS, the RPC/literal binding mode is not related to any JAX-RPC. I thought RPC/literal is for backward compatibility to JAX-RPC.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not what I meant. WS are meant to be interoperable, so a JAX-RPC client should be able to access a JAX-WS server and vice versa.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic