aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAX-WS is backward compatible with JAX-RS? 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-WS is backward compatible with JAX-RS?" Watch "JAX-WS is backward compatible with JAX-RS?" New topic
Author

JAX-WS is backward compatible with JAX-RS?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 801
    
    1
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
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
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.


Ping & DNS - my free Android networking tools app
Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 801
    
    1
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
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS is backward compatible with JAX-RS?