• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAX-WS is backward compatible with JAX-RS?

 
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
He loves you so much! And I'm baking the cake! I'm going to put this tiny ad in the cake:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic